Re:Spaces or Tabs? Microsoft developers reveal their prefere...
by vile on Monday October 12, 2020 @06:47PM
(#24760357)
Respecting user preferences is, IMO, the major use-case for Tabs - they display indents at the depth of the viewer's preference, not the author's preference.
Re:Spaces or Tabs? Microsoft developers reveal their prefere...
by chaorace on Monday October 12, 2020 @05:22PM
(#24759582)
The premise of the question is a little flawed. Most people just enforce a specific editor configuration via either a pre-commit git script or a plugin-based solution like editorconfig.
Once the configuration is enforced, you can configure many (most?) code editors to visualize the whitespace as desired (tabwidth/tabstop tend to be the features to look for).
Why can't we both look at the same file based on our personal preferences and have, for example, GitHub convert it to the approved team standard on check in?
This way, maybe we can end the spaces vs tabs debate once and for all, and make everyone happier.
or