4 ms·
> You can use tabs to indent and spaces to align after that, in most cases. In practice this is difficult; since the characters are invisible by default, peopl
by thih9 1y ago
> You can use tabs to indent and spaces to align after that, in most cases.
In practice this is difficult; since the characters are invisible by default, people will inevitably mix up the two. Looks like the industry standard is to give up and use spaces everywhere, unless strict and mandatory tooling exists.
- 1718627440 1y agoThat's on you though, in the editors I use they are visible and not just in my default IDE.
- Izkata 1y agoAnd that was (one of the reasons) why spaces won: alignment always worked. But the new problem is linters and formatters don't understand alignment, so they always want those extra spaces removed, making a mess.
- thih9 1y ago> linters and formatters don't understand alignment, so they always want those extra spaces removed, making a mess. I’m not sure what are you referring to, could you give an example?
- geon 1y agoStop aligning stuff. I don’t even use a monospaced font.
- g-b-r 1y agoYeah, let's just give up on readability