2 ms·
Good and bad code only matters if someone is looking. If you assume nobody is looking, you will often write bad code. If you assume that someone is looking, po
by jfengel 4y ago
Good and bad code only matters if someone is looking.
If you assume nobody is looking, you will often write bad code. If you assume that someone is looking, possibly including Future You, you will aim to write good code.
- epgui 4y agoThis is very true. IME it’s really an empathy problem. - “It passes the linter so don’t give me any advice on how it can be improved” - “YAGNI” While both of the above could be good counter-arguments in some contexts, I’ve seen them used disproportionately often by set-in-their-ways senior engineers who don’t care anymore or who forget that we write code for other humans, not for machines.