3 ms·
Spec is pretty close to being a library for static typing; Clojure core being dynamically typed isn't really a blocker. If you really want static typing Clojur
by roenxi 6y ago
Spec is pretty close to being a library for static typing; Clojure core being dynamically typed isn't really a blocker.
If you really want static typing Clojure can probably do it. The community support isn't going to be as solid as for something like Haskell. But I'm pretty sure spec offers stronger control of the useful parts of a type system than something like, eg, C. Except the control over RAM; that isn't a Clojure competence.