Design principles
A software design principle is a rule or set of rules that work as a guide for software developers and push them towards smart and maintainable solutions. In other words, design principles are conditions that code must fulfill to be considered objectively well designed.
Most senior developers and experienced programmers know about software design principles and it's very likely that, independently of whether they practice TDD, they are applying them to their daily work. The TDD philosophy encourages programmers—even beginners—to follow some principles and good practices that make code cleaner and more readable. Those practices are enforced by the Red-Green-Refactor cycle.
The Red-Green-Refactor cycle advocates for small ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access