3 points · by hellofunk · 10y ago · 4 comments
The first comment claims that because there is syntax for vextors, the language is not homoiconic (a term I don't like at all), which is also not true.
Confusion all around.
Generally it is true though, that the code is data / data can be code feature of Lisp makes understanding source code more difficult. A language without that feature is easier to understand.
Then there is the issue of syntax based on prefix expressions. Whether this is easier or not depends and is not that clear. Is code with fully parenthized prefix expressions actually easier to understand than a syntax with mixed (prefix, infix, postfix) expressions and a complex operator hierarchy?
(list (list 1 2) nil)
-> (list (1 2) nil)
-> (list (1 2) ())
-> ((1 2) ())
we write for example: (list (list 1 2) nil)
-> (list {(1 2)} nil)
-> (list {(1 2)} {()})
-> {((1 2) ())}
Use curly brackets to identify which arguments have been evaluated to values.See for example:
http://www.cs.uml.edu/~dimock/courses/opl/Handouts/TheSubsti...