3 ms·
Ask HN: What is the most absurd tab/space policy you have ever seen?
Alternating tabs and spaces on the same line is the worst I have ever seen. Bonus points for starting lines with different tabs/spaces based on C++ context:
https://github.com/compiz-reloaded/compiz/blob/master/src/object.c#L122
- platinumrad 8y agoThey're not basing it on the context. It's just the result of using 4 character indents while also using tabs, which is definitely ugly, but at least likely intentional and consistent, unlike alternating tabs and spaces in the same line, as you mentioned.
- badrabbit 8y agoAlways wondered why tab vs. Space was a thing. I mean,whether you use tabs or spaces,a text editor aware of the source code file format should render it according to your preference.