Remix.run Logo
ben-schaaf 21 hours ago

To quote the linux kernel style guide:

> Tabs are 8 characters, and thus indentations are also 8 characters.

Yes, tabs are used for alignment as well.

To quote the OpenBSD style guide:

> Indentation is an 8 character tab.

The GTK source code uses tabs when the number of spaces for indentation >=8. This goes against their coding-style document, but if you don't have tabs set to 8 you'll find the indentation broken.

git is the same: although it prescribes tabs if you don't set the width to 8 you'll find broken alignment everywhere.

tinco 15 hours ago | parent | next [-]

Oh that's terrible. I guess I'm the one that's been living in a bubble. If that's the kind of people fighting the war on our side, no wonder we lost.

RGBCube 14 hours ago | parent | prev [-]

This is horrible and goes against the purpose of tabs. You should NEVER use tabs for alignment, only for indentation.