6 ms·
Interesting, thanks. It seems pretty 'statically' typed to me. Kind of like TypeScript on the surface, but underneath the tooling and transpilers it is not. Wha
by pixie_ 10y ago
Interesting, thanks. It seems pretty 'statically' typed to me. Kind of like TypeScript on the surface, but underneath the tooling and transpilers it is not. What do you think?
- yogthos 10y agoClojureScript 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