As there is no good reasons to use hard tabs in the first place, in (almost any) programming language
Default to soft tabs instead of hard tabs
Eh, I don’t really think this is a great argument to start up. We don’t need a ‘tabs vs spaces’ holy war (I, for instance, disagree with the article you linked)…
Regardless, the defaults are easy enough to change that it shouldn’t really matter. It’s mostly a matter of preference, not one of impeded usability or function. There are just as many people who indent with tabs as with spaces, so there isn’t really a ‘right’ answer — someone’s going to get angry either way.
[quote=“miohtama3”]As there is no good reasons to use hard tabs in the first place, in (almost any) programming language
http://opensourcehacker.com/2012/05/13/never-use-hard-tabs/[/quote]
Just about every modern text editor has an option to modify the length of hard tabs which makes using hard tabs a lot more universal because every coder on specified project can use his own indentation setting. For me that’s enough reason to disagree with that article.
I prefer hard tabs. Less keypresses to insert/backspace. Flexible widths on a whim. Smaller file size.
They’re not major arguments, but they’re there.
As, unsurprisingly, there will be consensus about the matter would the following be possible:
Ship Sublime with hard tabs disabled for those programming languages of which style guide prefers spaces.
[quote=“miohtama3”]As, unsurprisingly, there will be consensus about the matter would the following be possible:
Ship Sublime with hard tabs disabled for those programming languages of which style guide prefers spaces.[/quote]
The Python syntax has soft tabs by default. I’m not sure for other languages, but the point is that it is already possible.