2 ms·
ClojureScript is dynamic, but it has completely different semantics from JavaScript. It just treats Js as a compile target. I think that Clojure has much clean
by yogthos 10y ago
ClojureScript is dynamic, but it has completely different semantics from JavaScript. It just treats Js as a compile target.
I think that Clojure has much cleaner language semantics than JavaScript, and this makes the code much easier for the IDE to analyze it.
That said, there is optional static typing available with Typed Clojure, and it can even generate type annotations from tests as seen here: https://github.com/typedclojure/auto-annotation https://github.com/typedclojure/auto-annotation