When a team decides it needs a coding convention, the usual move is to borrow one from a big company, such as Microsoft’s C# conventions, the Airbnb JavaScript guide or one of Google’s style guides. That’s a sensible starting point. But each of those documents was written for one company’s team size, codebase and tools. …
Coding Principles
Programming Principles: DRY, KISS, SOLID, YAGNI and More
I’ve written before about the principle I use most when designing software, doing the simplest thing that could possibly work. This post collects the other programming principles and laws I keep returning to, from DRY and SOLID to Conway’s law and Brooks’s law. None of them can be applied mechanically, and several pull against each …
The Power of Simplicity: Doing the Simplest Thing That Could Possibly Work
There’s a famous saying that goes, “Less is more,” a principle that also extends to the world of programming. As a developer, I’ve found the mantra, “Doing the Simplest Thing That Could Possibly Work,” to be a beacon of guidance. This principle advocates for simplicity, advocating the creation of code that does the job in …
