Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Mar. 8th 2018

Code Reflections: Is It Better?

Episode 1 Run Time 17:23

Download

"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 that you force this question into your internal dialogue. "Is the code now better?" Sure, I extracted files. Sure, it better follows the single responsibility principle. Sure, it's more open to extension. But is it better?