mirror of
https://github.com/zakirullin/cognitive-load.git
synced 2025-10-09 13:42:36 +03:00
add brought back Kernighan's Law
This commit is contained in:
@@ -340,6 +340,8 @@ Involve junior developers in architecture reviews, they will help you to identif
|
||||
|
||||
**Maintaining software is hard**, things break and we would need every bit of mental effort we can save. The fewer components there are in the system, the fewer issues there will be. Debugging will also be less mentally taxing.
|
||||
|
||||
> Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
|
||||
|
||||
In general, the mindset "Wow, this architecture sure feels good!" is misleading. That's "a point in time" subjective feeling, and it says nothing about the reality. A far better approach is to observe the consequences in the long run:
|
||||
- Is it easy to maintain the infrastructure?
|
||||
- Are there a lot of components/libraries/frameworks to update?
|
||||
|
||||
Reference in New Issue
Block a user