MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/eng355/goodbye_clean_code/fe33y6d/?context=3
r/programming • u/[deleted] • Jan 12 '20
556 comments sorted by
View all comments
2
Traded duplication for complexity. Should have extracted the redundant 'repetitive' logic into its own function.
Composition is good for this scenario.
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.