Changes for page Simple Design
Last modified by chrisby on 2024/02/22 16:26
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -11,4 +11,4 @@ 11 11 * Sometimes simple abstractions are required, sometimes more complex refactorings or the introduction of design patterns. 12 12 1. **Fewest elements** 13 13 * **Extra Code Means Extra Effort**: It increases potential bugs, maintenance, and developer cognitive load. 14 - * **Lean Codebase**: Aim for a minimal set of elements .This ismainlyabout reducingunnecessarycomplexity,notjust minimizingcode.Minimalcodeisnotalways the easiest tounderstand.14 + * **Lean Codebase**: Aim for a minimal set of elements in the code (variables, functions, classes, etc.) that still meets all the requirements, aka passes all the tests. Reducing lines of code is usually part of this process, but the ultimate goal is not to minimize code at the expense of readability, but to simplify the code so that it is lean but still readable.