3 ms·
The point was not "Coffeescript is better than Clojure", it was "destructuring assignment (like in Coffeescript, for instance) is a better solution than the one
by jfager 16y ago
The point was not "Coffeescript is better than Clojure", it was "destructuring assignment (like in Coffeescript, for instance) is a better solution than the one proposed in the post". If Clojure has sophisticated destructuring assignment, awesome. Use that instead.
- swannodette 16y agoI suppose I failed to see how destructuring assignment on hash-maps accomplishes anything interesting at all related to the post. The post eliminates hash-maps altogether.
- jfager 16y agoIt eliminates them from the api, but how does memoize work? There are still hashtables, you just never get a hook on them. I'm just saying that I prefer having that hook, and that destructuring assignment lets me do so with brevity and clarity.
- billmcneale 16y agoDestructuring is a pretty dangerous practice because it completely destroys encapsulation.