Re:Lisp for the Web, Part III
by Scarbutt on Saturday August 22, 2015 @09:02PM
(#10104390)
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.
[ Parent
| on HN ]
> 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.
Re:Lisp for the Web, Part III
by swannodette on Saturday August 22, 2015 @09:12PM
(#10104411)
Wrapping Java and JavaScript libraries is not idiomatic Clojure(Script), this is the whole point of having good interop.