duplication is far cheaper than the wrong abstraction
- John Carmack on inlined code http://number-none.com/blow/john_carmack_on_inlined_code.html
- ch-athens on Matryoshka Code http://betabug.ch/blogs/ch-athens/1352
- Kent C. Dodds on avoiding hasty abstractions https://kentcdodds.com/blog/aha-programming
I’m gonna rant about matryoshka code, DRY as dunes of Arrakis and utmost unpleasant to work with. Have you heard about it? Are you guilty of writing it? I’m going to describe the problem and propose few ideas of how to deal with it.