Immutability and Data Structures
A nice presentation about immutability from clojurescript creator. Immutable data structures are getting more attractions along with the popularity of functional programming language. The presentation covers related trie data structures and its advantages in performance along with new immutability-based platforms like Elm and React.
I used to be struggling on ruby’s clone method regarding performance and complexities in deep/shallow copy, but now I’m loving immutable data structures and tail-recursions while playing with elixir. When programming with ruby, I started to use hamster gem lately. It works nicely, but lack of tail-recursions sometimes painful.