|
|
|
|
|
by throwaway96666
764 days ago
|
|
In my experience jumping from a Clojure shop to a large Java shop a few years ago, the benefits of persistent data structures are overstated. Mutable collections are just as good for 99% of use cases. And they're a lot faster (in single threaded code) and occasionally mutation makes things easier. The selling point of Clojure is that persistent data structures prevent several classes of bugs (unintended mutation, locking, etc.). But in reality -- as long as your team members are good enough programmers -- I don't see these kind of bugs happen in practice. That being said I love Clojure and the standard library is the best out of any language. It is a great choice in the small market of "projects that need simple and correct code". |
|
It's probably fine most of the time it's just when I have to get into the weeds I want to have stability