3 ms·
I think the scientific term is "boring, maintainable code that junior overengineers won't touch with a stick"
by skrebbel 6y ago
I think the scientific term is "boring, maintainable code that junior overengineers won't touch with a stick"
- jfrunyon 6y agoThis is your idea of maintainable? Yikes. Tell me, how many places in the referenced snippet would need to be changed to, say, allow commas to be present in numbers?
- skrebbel 6y agoYep. All the duplication is local and it's just a few lines. Duplication is never pretty, but when it's as local as here, it's pretty much harmless. Duplication that's not obviously duplication, that's a problem. This is not that. To answer your question, in 3 places, a few lines apart from one another.
- jfrunyon 6y agoNow what happens when there are 10 of these blocks? Embedded within or called by 10 other blocks that also have duplication? Duplication displays exponential growth.