Hacker News new | past | comments | ask | show | jobs | submit login

Immutability by default is a world of difference from library support. I think pretty much every language has a library for it.



Immutability by default is mostly overrated: I’ve written code in many languages (Haskell, Clojure, JS, CL, etc.), and I’ve found I care more whether a library (Immer, ramda, etc.) provides referentially transparent APIs than whether or not the language’s data-structures provide immutability guarantees.

But, additionally, my point was that CL has literal representations for arbitrary data types, not that you can get immutable datastructures from a library.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: