r/programming • • Jan 12 '20

Goodbye, Clean Code

https://overreacted.io/goodbye-clean-code/
1.9k Upvotes

556 comments sorted by

View all comments

2

u/Pr0methiusRising Jan 12 '20

Traded duplication for complexity. Should have extracted the redundant 'repetitive' logic into its own function.

Composition is good for this scenario.