by ufo · 12y ago · 0 comments
TBH, the real problem with C is not the braces - its that braces are optional.
Python 3 deals with this by throwing a warning about inconsistent use of tabs and spaces before it even finishes parsing the file (so basically before runtime). There's no reason why any other language can't do the same.
Clearly we both can't be pleased. ;)
[1] Except in Lisp.
- editors that allow one to set tab width different from 1.
- editors, compilers, and OSes that distinguish tabs from spaces in any way (display of invisible characters, search).
- revision control systems that do not randomly replace spaces by tabs and vice versa in all text files.
Back in the 1970s, I chose tabs to save bytes in my text files. Today I feel like I can afford the extravagance.