4 ms·
Mori also provides clojure like functionality for the new collections greatly simplifying how you would use them - if you don't use Clojure you might think of t
by smrtinsert 12y ago
Mori also provides clojure like functionality for the new collections greatly simplifying how you would use them - if you don't use Clojure you might think of the additional functions as an underscore for immutable collections.
I don't see a reason to use any other immutable js lib when Mori exists.
- misuba 12y agoMori's a bit impractical for use in the browser due to its size.
- taude 12y agoI'm not seeing how a 32 KB download is impractical in browser use do to size (assuming the above statement about 32KB is true). Is there something else to it?
- misuba 12y agoI didn't see any such statement above. From 176K to 37K (that's what I got on my console anyway) is impressive.
- moomin 12y agoIf you use ClojureScript, it strips out unused functions...
- klibertp 12y agoThat would be true for any properly annotated JS fed to Google Closure Compiler, right? I definitely need to learn more about it, as dead code elimination for JavaScript seems very, very hard due to its dynamic nature and I'm curious how they do it. Does anyone know about other JS compilers which try to perform dead code elimination?