13 ms·
Its easier for new team members to understand consistently formatted code. Just one less thing to get in the way. Some people are too stupid to use an autoforma
by danmur 3y ago
Its easier for new team members to understand consistently formatted code. Just one less thing to get in the way. Some people are too stupid to use an autoformatter though :P.
- ninetyninenine 3y agoNobody is too stupid to use an auto formatter. I'm not even talking about that. CI can automate on commit or enforce it. I mean literally it's just one command. I'm referring to style and neatness beyond the linter.
- danmur 3y agoI have no idea what you're talking about I'm sorry. If you're talking about style and neatness in the same sense as style and neatness in literature it's just as important in code. If not then style and neatness is just an aspect of good grammar and simple hygiene, should be mostly done on autopilot. Maybe you have some other experience of pointless pedantry but I don't know what it is.
- ninetyninenine 3y ago>I have no idea what you're talking about I'm sorry. It's ok no need to apologize here. You've done nothing wrong. Style and neatness extends beyond linters. For example naming. I can choose bad names. The linter won't catch it. I can choose inconsistent names and the linter won't catch it. Also style can refer to programming style. One programmer may prefer recursion the other for loops. Another programmer may prefer dependency injection while a golang programmer is more against that style. None of these things are pedantic imo. I would also kindly request that you don't say stuff like this: "Maybe you have some other experience of pointless pedantry but I don't know what it is.". It comes off as bit rude to me. Though I assume that was not your intention it did come off that way and I would just like this conversation to continue amicably.