4 ms·
I think a big part of that is this mistaken idea that, if you duplicate a single line of code, you've done a terrible, terrible thing. Sandi Metz did a pretty
by s73ver 9y ago
I think a big part of that is this mistaken idea that, if you duplicate a single line of code, you've done a terrible, terrible thing.
Sandi Metz did a pretty good talk about this, basically saying we need to think more before we abstract things away because "code duplication". https://www.sandimetz.com/blog/2016/1/20/the-wrong-abstraction https://www.sandimetz.com/blog/2016/1/20/the-wrong-abstracti...