Martin Sandin has an article outlining four strategies for organizing code. He goes through each of the four strategies, by component, by toolbox, by layer, and by kind.
Martin said, “I think these four form a kind of hierarchy with regards to which kind of cohesion they favor and in my experience they cover most of the real-world code I’ve worked with, pleasurable and not.”
Give it a read if you’ve ever wondered about the different strategies.
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
Stress-free refactoring with Scientist
Shameer C. has a tutorial on refactoring with Scientist. Scientist is an experimental framework for PHP that allows y…
Github relaxes API limit for Composer Installs
Typically when you do a composer install you clone a large number of Git repos. It’s been typical that you hit…