re: Stop trying to be so DRY, instead Write Everything Twice (WET) VIEW POST

FULL DISCUSSION
 

This article is really dangerous to more junior developers. Copy, paste and change some stuff invites problems, because there may be 5 developers working on one project and if all of them do it just once you have 5 repetitions of something that should be abstracted away. Developers are not monkeys, you should think if something needs abstraction before doing anything, not after you repeat it three times - otherwise you end up with maintainable piece of crap that will need to be rewritten at some point (I had to rescue such projects, it's not fun). If you spend some time actually designing the system you won't have to spew code left and right as you go.

code of conduct - report abuse