3 ms·
Clojure makes great strides in this area, by claiming for itself the reader macros for [] and {} in addition to (). [] is always used any time variable binding
by jimbokun 16y ago
Clojure makes great strides in this area, by claiming for itself the reader macros for [] and {} in addition to (). [] is always used any time variable binding takes place, for example. It also more closely follows the JSONy conventions used by Python, Ruby and Javascript.
- fauigerzigerk 16y agoThe use of [] is something I hate about clojure. I'm never entirely sure where it can/cannot/must be used and why. Sometimes it seems to get used as a replacement for quoting a list, somtimes for efficiency reasons, most of the time I just don't know why it is used.