I think, that next to a lot of other things, clojure brings a lot of value through its excellent standard library clojure.core (api and implementation). I am trying to sneak in some aspects of clojure into my workplace; working on web-applications mainly with js.
Recently I am using more and more functional programming techniques in javascript, which is a little bit harder because of its mutable data-structures. I am working with js-datastructures as if they were immutable using things like the new spread operator etc. (I am trying to avoid libs like Immutable.js for this). Now I am encountering problems which are already solved by clojures way of assoc’ing data or the threading macros.
My idea is to use functions like assoc, assoc-in or juxt, first because the api is solid and second to familiarize my coworkers with some clojure functions to maybe one day sneak a little bit of clojure into our projects
Now to the question(s): "Does anyone know a js library, which implements (as fas as possible) the clojure.core library? Or is there a different way (e.g. using clojurescript)? Or are there reasons for why this idea is dumb ?"
Thank you for your feedback and ideas