Death to the Space Infidels!

In a modern text editor or IDE tabs can behave as if they were spaces. They can be walked through, even a “space” can be deleted in the middle of a tab, just to have the tab converted to spaces, then delete a single space. Some IDE even converts spaces to tabs while typing, so a line can have a mixed tab+space combination.
Or TABS can behave as real tabs. Cursor jumping while traversed.
And to top it, when spaces are autoconverted to tabs, it’s the best when tabs behave as spaces.

Easy solution. Enforce a tab-width of one, and indent with 5 tabs.

You only need two spaces to indent your code. You can hit “tab” key as long as your editor is set up for “tab_for_spaces”. A handful of guys at some point came up with the BS 4 space indention rule and, like sheep to slaughter, everyone else in the Dev community just follows right along them.
This handful of guys who made this rule must be blind if they require 4 spaces to see what follows
a conditional statement. And in 20 years if their eyesight gets any worse you guys will need to indent to the end of the page!

1 Like