3 ms·
> It is far from being generaly accepted, see Clojure, Scala, Rust, Ruby, ... I'd say more new languages don't follow this than do. And despite general love for
by _pmf_ 12y ago
> It is far from being generaly accepted, see Clojure, Scala, Rust, Ruby, ... I'd say more new languages don't follow this than do. And despite general love for Python its most controversial feature is exactly this.
Maybe, but the question is whether they are better off or worse off for it.
- ajuc 12y agoI'm happy with either python-like, lisp-like or c-like syntax, just ban tabs if you use python syntax please.
- kmicklas 12y agoRegardless of the relative merits of tabs vs spaces, tabs make the most sense _specifically in a Python-like language_.
- ajuc 12y agoI don't care about tabs vs spaces, I just don't want to have the "inconsistent identation" problem, and spaces are more fundamental (you can convert arbitrary tabs to spaces, you can't convert arbitrary spaces to tabs). Also you cannot forbid spaces in code, but you can easily forbid tabs.
- kbenson 12y agoNo, actually the question was whether it's universally accepted as a good idea. Obviously it isn't (universally accepted). No need to turn this into a discussion of the merits, that's been done here many, many times before.
- Profpatsch 12y agolel, of course everyone is going to discuss about the smallest critique I stated. Bikeshedding at its best.
- ribs 12y agoYou did lead with that one.