4 ms·
its success doesn't have much to do, from what I can tell, with the actual design of the language Of course it does. "Revisit[ing] the basic design tenets of C
by gruseom 18y ago
its success doesn't have much to do, from what I can tell, with the actual design of the language
Of course it does. "Revisit[ing] the basic design tenets of Common Lisp and Scheme" is actual language design. Moreover, "fixing" CL and Scheme is not "low hanging fruit". It's a hard thing to do, and most people who try make a mess of things.
- jrockway 18y agoMoreover, "fixing" CL and Scheme is not "low hanging fruit". It's a hard thing to do, and most people who try make a mess of things. I agree here. Most people think fixing CL means making "let" use fewer parenthesis. (Clojure does this.) Anyone that has used Lisp for more than 30 seconds knows that this is not a particularly worthwhile change. More syntax characters just to save two characters in a let binding? No thanks. (BTW, you can always use destructuring-bind instead of let -- (destructuring-bind (foo bar baz) '(1 2 3) ...). There, you saved some parens!) Honestly, Clojure doesn't sit really well with me. It tries to be different from both CL and Scheme simply for the sake of being different, which is pretty annoying. For example, look at the "definers". In CL, the scheme is pretty simple -- defun, defvar, defgeneric, defmethod, ... In Scheme, "define" is polymorphic, so it's all you ever need. In Clojure, the "definers" are just random words; def/defn, etc. Oh boy, we saved 3 characters! I am going to be so much more productive now! Anyway, I will stick to CL for now.
- yummyfajitas 18y agoThe syntax changes are a very minor part of what "fixing" CL/Scheme means. Clojure makes some serious semantic changes. For instance, data structures are immutable (not setq). If you need state, you have to use the software transactional memory system. These two features combine to make Clojure very safe for concurrency. Clojure also uses sequences as it's primary object, which are more like "immutable" python generators than lisp lists. Take a closer look, Clojure is actually quite nice.
- jrockway 18y agoI guess my point is that I wish it only made semantic changes and not syntactic change, or that I could easily turn off the odd syntax.