Post-Architecture: Premature Abstraction Is the Root of All Evil
Whenever a new design to code tool comes around, people get excited. It’s considered the holy grail of design. You can now design with code. This is the final evolution.
But I don’t agree. It’s only the holy grail if you value output higher than the process of design.
Whenever a designer... See more
Karri Saarinenx.comProgression:
Simple and wrong
Complicated and wrong
Complicated and right
Simple and right
If you find yourself in this situation, resist being driven by sunk costs. When dealing with the wrong abstraction, the fastest way forward is back . Do the following:
- Re-introduce duplication by inlining the abstracted code back into every caller.
- Within each caller, use the parameters being passed to determine the subset of the inlined code that