|
|
|
|
|
by davelnewton
3680 days ago
|
|
Because people view source files using a multitude of means, and getting everybody across all their respective platforms to set things up is onerous. When you mix tabs and spaces there's no way to get alignment correct. Indentation is fine, if that's all you ever use them for, but human behavior is non-deterministic and unenforceable, making for completely hosed up source when tabs are used for anything other than pure indentation. E.g., if you put a tab in for alignment, when you should have used spaces, your source file is hosed up. Add on to that that many IDEs, editors, and build tool/tool hooks aren't smart enough to know when something is being indented vs. aligned, it's essentially impossible. |
|