DEV Community


Discussion on: Unpopular opinions

tomekbuszewski profile image
Tomek Buszewski

It's better to write dirty, understandable code than highly abstract and incomprehensible one.

Also, sometimes it's better to repeat some code rather than refactoring a days work just for the sake of "cleanness".

cullophid profile image
Andreas Møller

I would say it's almost always better to repeat code.

scottishross profile image
Ross Henderson

I repeat this regularly at work. We have a developer who (in PL/SQL) wrote a parameter as "parameter := null" instead of "parameter default null", and the reason was that "I'm not a typist".

mattwaler profile image