Y
Hacker News
new
|
ask
|
show
|
jobs
by
travisjungroth
1783 days ago
You can statically analyze specs and check them at runtime if you want.
1 comments
c-cube
1781 days ago
Can you? Is there any tool that actually does that reliably?
link
travisjungroth
1780 days ago
https://clojure.org/guides/spec#_using_spec_for_validation
link
c-cube
1780 days ago
The 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.
link