2 ms·
yeah and half of your code and of your time will be writing interop code in non-idiomatic clojure, unless of course you devote even more time and write a cloju
by Scarbutt 11y ago
yeah and half of your code and of your time will be writing interop code in non-idiomatic clojure, unless of course you devote even more time and write a clojure wrapper to use the js or java lib in an idiomatic manner.
- klibertp 11y ago> yeah and half of your code and of your time will be writing interop code in non-idiomatic clojure I fail to see any problem with this. Writing non-idiomatic code does not mean that it's going to take more time. There's certainly a value in writing idiomatic code in a given language, but "practicality beats purity", at least in my mind.
- swannodette 11y agoWrapping Java and JavaScript libraries is not idiomatic Clojure(Script), this is the whole point of having good interop.