Are square brackets part of the spec now? I can't get over ((((( for everything with no real easily visible distinguishability between parts of a definition. Clojure gets the Lisp-like syntax as right as possible IMO.
> Are square brackets part of the spec now? I can't get over ((((( for everything with no real easily visible distinguishability between parts of a definition. Clojure gets the Lisp-like syntax as right as possible IMO.
Square brackets are replaced by normal parenthesis to my knowledge.
Though I have to admit that I strongly dislike them. They put more cognitive effort into the syntax than they aid.
For me the cognitive effort is greater without the use of []. The meaning of the () following a symbol in a (define) is only determined by it's position. With [] you can, at a glance, know the role of that list. It gives some visual separation to the parts of a function definition that most other languages just have automatically.
Yeah, the only thing holding me back from going all in on Clojure is the JVM's chunkyness and the lack of a good type system. I'd love to see Haskell's type system grafted onto a Clojure-flavored Lisp.
I've never used it, but you might be interested in Shen [0]. There's also Babushka, which is a lightweight interpreted backend for Clojure [1] that is very practical for scripting, etc.
Not a fan of typed Racket. It feels like grafting a type-system onto a Lisp with macros, which is, IMO, not sufficient. The syntax in particular is ugly and creates unnecessary separation between bindings and their types. Also gradual typing is little bit of worst of both worlds, coming from a heavily typed Python codebase.