Re:Typed Clojure in Theory and Practice [pdf]
by didibus on Friday August 17, 2018 @02:51PM
(#17784940)
What's the difference between optional systems and gradual systems?
[ Parent
| on HN ]
Re:Typed Clojure in Theory and Practice [pdf]
by gcornut on Friday August 17, 2018 @04:36PM
(#17785462)
The author of Typed Clojure has done a presentation on that subject.
https://www.youtube.com/watch?v=yG9CffLlXx0
So if I understood correctly:
An optional type system can be toggled at any time but the type checking requires type annotations on all of your code (with all its dependencies).
A gradual type system is also optional but can check portions of your program even if they call into un-typed portions of your program and also check typed code called from un-typed code.