5 ms·
Pragmatic programming has lost. If you aren't a zealot about being pedantic, just move into the old-folks home.
by josephv 8y ago
Pragmatic programming has lost. If you aren't a zealot about being pedantic, just move into the old-folks home.
- ravitation 8y agoI enjoy zealous pedantry. I have strong personal opinions about something that I do a lot (especially the pedantic parts), but most of it is relatively lighthearted.
- Zyst 8y agoNot at all, I'd argue this whole Tabs/Spaces, bracket placement, single/double quote discussion should be getting killed by code formatters. At the end of the day you can do whatever you want with the code you're writing, and some pre-commit hook can run go fmt/prettier/whatever and then it'll all get standardized. I've become a very heavy proponent of code formatters (I added prettier to the entire team) and I truly believe that talk about code formatting will never really die off, but at the end of the day you can do whatever you want on your side but still have a standardized looking codebase, and that feels extremely liberating to me. As a PS: If you are a diehard tab proponent/different bracket placement/whatever but your team formatter configuration uses spaces instead then you can also use code formatters to do spaces -> tabs locally, say, on file open. Once you commit your file your precommit falls back to the team configuration, which removes your tabs. Everyone is happy.
- cortesoft 8y agoI think the person you are responding to was being sarcastic...
- always_good 8y agoI'd say it's the opposite. Code formatters are winning. It's becoming increasingly trite to bikeshed over formatting when projects are using code formatters.
- twic 8y agoWell, i'm a pedant about being zealous, and i am afraid we are now doomed to war eternally.