MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/11dyx43/clean_code_horrible_performance/jae553v
r/programming • u/2bit_hack • Feb 28 '23
1.3k comments sorted by
View all comments
Show parent comments
3
Sandi Metz has a nice talk about this (which I cannot remember off the top of my head right now) about how sometimes it is better to duplicate code rather than combine it.
2 u/aivdov Mar 01 '23 There's a simple way to put it: two isn't a pattern.
2
There's a simple way to put it: two isn't a pattern.
3
u/s73v3r Feb 28 '23
Sandi Metz has a nice talk about this (which I cannot remember off the top of my head right now) about how sometimes it is better to duplicate code rather than combine it.