4 ms·
Why a fuss? Because some people think their choice to use hard tabs and a given tabstop setting are right and refuse to allow autoformatting tools or even just
by tasty_freeze 6y ago
Why a fuss? Because some people think their choice to use hard tabs and a given tabstop setting are right and refuse to allow autoformatting tools or even just a hard tab replacement. Or they might argue: sure, the formatting is a mess, but if we reformat the code it will make tracing version control blame logs more difficult.
35 years ago, a friend told me the he and the other guy working on a piece of code would play tug of war with their shared files. My friend would replace tabs with spaces whenever he had to edit a given file, then the other guy would replace leading spaces with tabs whenever he edited a file.
- beagle3 6y agoYou can easily set a server-side commit/pre-receive hook that would enforce any specific agreed upon standard. Anyone who isn’t a team player, doesn’t get to commit (open source) or paid (commercial / closed source). It is one of those occasions that a 5-like configuration can save months of bickering.