4 ms·
Yes, you're eliminating complexity. Because there is a fixed amount of complexity in the semantics of the assignment operation itself. Having to parse some synt
by kazinator 10y ago
Yes, you're eliminating complexity. Because there is a fixed amount of complexity in the semantics of the assignment operation itself. Having to parse some syntax with precedence and whatnot is extra complexity that doesn't further the goal of assigning to those three variables.
The ideal syntax for performing some operation O on entities X, Y and Z consists only of the symbols O, X, Y an Z. We need the parentheses to delimit that as an expression among other symbols.
- smallnamespace 10y ago> The ideal syntax for performing some operation O on entities X, Y and Z consists only of the symbols O, X, Y an Z That's simply begging the question. That viewpoint only makes sense if all code is most parsimoniously broken down into its parse tree, but I don't think that's been shown. When all you have is a hammer (even a slick, homoiconic hammer), everything looks like a nail. > We need the parentheses to delimit that as an expression among other symbols. There are other ways to delimit expressions as well (e.g. implicitly with precedence, with whitespace, with HTML tags, with curly braces, etc.); why is Lisp's way the one true way?
- deleted 10y ago[deleted]