پی اچ پی

بازتاب کد

Code Reflections

Reflecting upon the code you've written is an important step for any developer. It's not enough to simply extract, refactor, and call it a day. No. Once complete, you must evaluate what you've done. Is the code now better? Is it more clear? Don't underestimate how difficult a question this can be. Our brains manage to trick us at every turn.

سطح حرفه ای 4 جلسه آموزشی 00:59:00 ساعت
01
قسمت 1

Is It Better?

"Is it better?" is a question I ask myself on a daily basis. It's not such an easy question to answer, when it comes to code. No, it turns out that our brains have a unique way of tricking us at every turn. Still, despite the difficulty, it's vital t...

02
قسمت 2

Component Refactor Reflections

Over the last few weeks, at the time of this writing, I've been working on a component refactor for the Laravel Mix codebase. Now that I've mostly completed this refactor, let's review the before and after, while once again asking ourselves the impor...

03
قسمت 3

Coding on the Fly

In real life, you won't always have time to go over each line of code with a fine tooth comb. No, the truth is that, too often, the business needs it done now. Not in three weeks. Now. You can complain on Reddit when you're done. Sorry, it's a simple...

04
قسمت 4

Refactoring for Clarity

In this lesson, we'll use real code as the basis for a series of small refactors that should hopefully improve clarity. We'll discuss autonomy, use-cases, model responsibility, and more.

دوره در حال اجرا

این دوره هنوز به پایان نرسیده است و در آینده درس های دیگری به آن افزوده خواهد شد.