Standard human brain can accommodate around 7 different things within its short-term memory. Architect such a way that, whatever the zoom level we are in, we comply with brain threshold. Code should fit in your head at all levels of abstraction. At the entry point, at the business logic level, and at the lowest levels of detail. This is fractal architecture - code that is organised according to that principle of self-similarity.
― Mark Seemann
Da blob
A well-known anti-pattern is the blob one ie a workspace - or more accurately a space - where everything is mixed up together, ending up with tight coupling, blurred boundaries, high maintenance cost, low ability to evolve, and more…
- No structure. No discipline.
- No relationship pattern eg random dependencies.
- N-flavor projects… Like candies, we cannot be sure of what we get & it does not necessarily taste good.
- Unpredictable behavior ie what happen if… or could I add/remove/swap/…
Structure
Chunk
Split
Macro
In gaming Micro and Macro are prefixes that mean small and large respectively, ie small picture vs big one or battle vs war.
Micro
In gaming Micro and Macro are prefixes that mean small and large respectively, ie small picture vs big one or battle vs war.
Meta
In gaming Meta is the most contextually effective tactic, ie accommodating dimensions (customer, infrastructure, timeline, …).