3 ms·
> It’s so much easier to adopt that than have everyone have slightly different opinions on how things should be formatted. Cant this be done with just a linte
by tayo42 5y ago
> It’s so much easier to adopt that than have everyone have slightly different opinions on how things should be formatted.
Cant this be done with just a linter to enforce some rules without forcing an auto format. I really liked just working with a linter to enforce style, as long it passed everything was fine. But still left some room for the coder to make things readable
- heavenlyblue 5y ago“Readable” is equivalent to “I am used to reading code like that” rather than “there is some idealised metric that defines readability” You are mistaking your own habits for your rationality
- tayo42 5y agoI don't think that's true otherwise I would never be able to improve my codes readability. I have received suggestions that make code better to read and have read others code that I found to be neater. If it was just my habits then everything written by other people would always be harder to read