Comment by ozim

5 years ago

People to people dealt this fate ...

What is mostly surprising I find most of developers are trying to obey the "rules". Code containing even minuscule duplication must be DRYied, everyone agrees that code must be clean and professional.

Yet it is never enough, bugs are showing up and stuff that was written by others is always bad.

I start thinking that 'Uncle Bob' and 'Clean code' zealots are actually harmful, because it prevents people from taking two steps back and thinking about what they are doing. Making microservices/components/classes/functions that end up never reused and making DRY holy grail.

Personally I am YAGNI > DRY and a lot of times you are not going to need small functions or magic abstractions.