super modular code that can cope with changing requirements :
Requirement never change, all that abstraction is useless and just adds complexity. However, every developer joining after you diligently updates all future code to integrate with all the cases your abstraction was designed to handle, unbeknownst the product doesn't use any of it. After some time, most of the code's complexity evolves like that joke about the five monkeys and the banana.
Requirements constantly change and abstraction makes code easier to understand and maintain(essentially the entire idea behind programming languages). If your abstraction is impossible to understand, it's not a good abstraction. I don't see why that means good abstractions shouldn't be written.
6
u/GeneReddit123 Nov 25 '22 edited Nov 25 '22
Requirement never change, all that abstraction is useless and just adds complexity. However, every developer joining after you diligently updates all future code to integrate with all the cases your abstraction was designed to handle, unbeknownst the product doesn't use any of it. After some time, most of the code's complexity evolves like that joke about the five monkeys and the banana.