▲ | thih9 a day 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. | ||||||||||||||||||||||||||
▲ | Izkata a day ago | parent | next [-] | |||||||||||||||||||||||||
And 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. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | 1718627440 a day ago | parent | prev | next [-] | |||||||||||||||||||||||||
That's on you though, in the editors I use they are visible and not just in my default IDE. | ||||||||||||||||||||||||||
▲ | geon a day ago | parent | prev [-] | |||||||||||||||||||||||||
Stop aligning stuff. I don’t even use a monospaced font. | ||||||||||||||||||||||||||
|