3 ms·
It's aesthetic, how the code looks (e.g. in an editor), and can't be separated from a quarter century of LISP experience (Lisps where only lists/pairs are synta
by hga 13y ago
It's aesthetic, how the code looks (e.g. in an editor), and can't be separated from a quarter century of LISP experience (Lisps where only lists/pairs are syntactically first class). Note data in code is an exception, it's perfectly fine to e.g. include literals of other collections.
Don't take me wrong, making the other collections syntactically first class and unifying them under the Seq abstraction is a really good thing, in fact when I appreciated that it was the first thing that got me really excited about Clojure, especially Clojure as "the next Lisp". But personally, if just for myself, I would have kept the vectors out of the syntax and depended on indentation in smart editors.
- jcrites 13y ago> Lisps where only lists/pairs are syntactically first class There are several types of first class syntax in Lisp: http://amitp.blogspot.com/2007/04/lisp-vs-python-syntax.html http://amitp.blogspot.com/2007/04/lisp-vs-python-syntax.html