3 ms·
> People who stress over code style, linting rules, or other minutia are insane weirdos He seem to have not seen messed up code written and changed by a dozen
by submeta 6y ago
> People who stress over code style, linting rules, or other minutia are insane weirdos
He seem to have not seen messed up code written and changed by a dozen programmers over the course of years with various notions about indenting, placing parentheses and comments and whatnot. I‘ve seen code with tabs and spaces mixed, wrongly indented code where following the logic is hard, code with no comments at all or code with more comments than code.
Don‘t give any guidelines and you‘ll end up with a mess.
- omosubi 6y agoAs far as I can tell he isn't arguing for not giving any guidelines, but rather that arguing over them is pointless. choose a set and be done with it.
- Joeboy 6y agoWe don't stress much about code style etc, because we have a pre-commit hook that complains if you don't follow (most of) pep8. It's extremely unstressful, and makes our code nicer. I guess it could be different in languages where style is more of a matter of personal opinion.
- conradfr 6y agoAt my last workplace someone made a change that was preventing you to commit if your imports ("use") where not sorted alphabetically. They are so irrelevant that the IDE (PhpStorm) hide them by default. It used to make me so mad.