DEV Community

loading...

Discussion on: Unpopular opinions

Collapse
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".

Collapse
cullophid profile image
Andreas Møller

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

Collapse
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".

Collapse
mattwaler profile image