Created
October 30, 2022 03:09
-
-
Save MauricioRobayo/ef5cad2fcbc2ad21dc47578723a4bd23 to your computer and use it in GitHub Desktop.
Surface Area
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It's much easier to recover from no abstraction, than the wrong abstraction. | |
Abstractions come with a significant cost and a significant risk. | |
It's better to under-abstract to begin with. | |
Start with a few abstractions and lots of repetitions. Find repetitive patterns. If the pattern doesn't lead to bugs, don't fix it. It might look ugly but it's not hurting anyone. Try to generalize it and you risk adding bugs in the generalization. It only adds surface area to everyone. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment