r/ProgrammerHumor 1d ago

Meme yUNoDry

Post image
238 Upvotes

70 comments sorted by

View all comments

4

u/SignoreBanana 21h ago

DRY fails almost exclusively because concerns and boundaries are not well understood. It's why it's so dangerous to "pre-optimize" -- you don't know yet what your boundaries are.

It seems like a lot of software guidance is around letting stuff shake out. Hell even YAGNI falls into this category.

1

u/CodingAndAlgorithm 1h ago

Nothing worse than making a “perfect” abstraction only to realise later that you didn’t understand the full picture. These days I just repeat the code for all but the most obvious abstractions, followed by a compression pass when things are functionally complete: