mas.to is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hello! mas.to is a fast, up-to-date and fun Mastodon server.

Administered by:

Server stats:

12K
active users

arguments against space as indentation:

  • lack of accessibility
  • lack of standardisation (i have seen, no joke, a codebase i worked on professionally with 3 spaces per level. and we were forced to maintain it)
  • confusion when inputting depending on editor (if your tab key produces tabs not spaces, you have to press space several times per level to match rest of file)

arguments against tab as indentation:

  • nhgguuuhh i don't know how to make tab smaller in my editor waaaah
Jorge Stolfi

@mavica_again

TABs are a stupid leftover from the days of mechanical typewriters. They are one of the best reasons (among ounces, cars, the Electoral College, churches, the letter Q, weapons, etc.) why the Earth should be ground up into gravel, and used to build a better planet from scratch.

@mavica_again

@mavica_again

That article is silly. It is about what is the best amount of indentation on the screen, not about the TAB key or the TAB character.

The distance of indentation need not be proportional to the number of spaces in the code file, and each programmer should be able to change it without actually editing the file. And the best amount depends on other help that the editor could provide, like vertical alignment lines or collapsible blocks. 🧵‍>

@mavica_again

🧵‍> And the display of code on Braille terminals should really be more sophisticated than just "display one Braille character for each byte in the file".