3 ms·
You can statically analyze specs and check them at runtime if you want.
by travisjungroth 5y ago
You can statically analyze specs and check them at runtime if you want.
- c-cube 5y agoCan you? Is there any tool that actually does that reliably?
- travisjungroth 5y agohttps://clojure.org/guides/spec#_using_spec_for_validation https://clojure.org/guides/spec#_using_spec_for_validation
- c-cube 5y agoThe words "static" or "analysis" do not appear there. I imagine you meant that you can runtime check the specs, which, well, is no replacement for a type system.