The Grug Brained Developer
say: complexity very, very bad
Read more [grugbrain.dev]
Posts tagged with complexity
say: complexity very, very bad
Read more [grugbrain.dev]
When you say "just," you're skipping over all the invisible complexity.
Read more [www.neverjust.net]
Join 9,500+ smart developers
Every month I share what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
This talk by Kevlin Henney looks at how a handful of coding habits, design practices and assumptions can systematically balloon code and compound its accidental complexity.
– ferd.ca
What's the ideal amount of abstraction? When does a framework start having "too much magic"? When are there too many languages in an organisation?
Read more [ferd.ca]
Last week Adam Wathan's excellent Laracon US talk was published. Highly recommened to check it out even if you don't use Laravel.
In this article Kent C. Dodds clearly explains what the downsides are of using Class in JavaScript.
Classes (and prototypes) have their place in JavaScript. But they’re an optimization. They don’t make your code simpler, they make it more complex. It’s better to narrow your focus on things that are not only simple to learn but simple to understand: functions and objects.
https://medium.com/@kentcdodds/classes-complexity-and-functional-programming-a8dd86903747
On his new blog on Medium, Taylor Otwell, creator of Laravel, published some statistics on the code complexity of various popular PHP frameworks. Draw your own conclusion.
Last week as I was refactoring and cleaning Laravel for the 5.4 release, Graham Campbell showed me some code complexity statistics for the framework. I decided to compare this against some other PHP frameworks to see how Laravel stacks up.
https://medium.com/@taylorotwell/measuring-code-complexity-64356da605f9
Recently Taylor sat down with the folks at Larachat. Watch the recording to learn some other nice interesting tidbits about Laravel and it's ecosystem.
Matthias Noback, author of "Principles of Package Design", published the first article in a new series on programming best practices on the iBuildings blog. The subject of the first article is reducing complexity.
Inside your method or function bodies, reduce complexity as much as possible. A lower complexity leads to a lower mental burden for anyone who reads the code. Therefore, it will also reduce the number of misunderstandings about how the code works, how it can be modified, or how it should be fixed.https://www.ibuildings.nl/blog/2016/01/programming-guidelines-php-developers-part-1-reducing-complexity