3 ms·
That clojurescript snippet will issue a warning, is that way because of compiler performance reasons if I'm not mistaken. Still, you get immutability by defaul
by Scarbutt 8y ago
That clojurescript snippet will issue a warning, is that way because of compiler performance reasons if I'm not mistaken.
Still, you get immutability by default and a nice std lib of functions, think of lodash/fp and immutablejs together but better since lodash and immutablejs can't be use together anyway.
than a language that claims to be cross platform but with semantics that change depending on the platform.
This is not true, on the contrary, Clojure[script] claims to embrace the host semantics and platform, is just that there is this capability to share some code between Clojure and Clojurescript that might be useful for some parts of your application, I don't think this is a killer feature of Clojure btw.