Laracasts Tell, Don't Ask

Tell, Don't Ask

Tell, Don't Ask

درباره این درس

As a general rule of thumb, it's best to tell your objects what to do, rather than asking them for their state, and then deciding what to call next, based upon this output. This is referred to as "Tell, Don't Ask." Let's about it more in this lesson.
دیدگاه های کاربران

× در حال پاسخ به: