Re:Clojure Turns 15 panel discussion video
by kccqzy on Monday February 13, 2023 @10:52PM
(#34785045)
Are you really suggesting type support? I don't mind types but I think spec is more in the spirit of Clojure. Have you taken a look at it? https://clojure.org/about/spec
[ Parent
| on HN ]
Re:Clojure Turns 15 panel discussion video
by lenkite on Tuesday February 14, 2023 @05:43AM
(#34787664)
spec is mostly useless for tools and IDE's and static analysis. Spec necessitates running your program with an arbitrary runtime complexity. Type checking is done before your program runs. The idea is to remove the need for runtime checks as much as possible.
Re:Clojure Turns 15 panel discussion video
by johannboehme on Tuesday February 14, 2023 @06:34AM
(#34787992)
But clojure is not meant to be developed statically!
It is supposed to be running while developing it. You don't need static analysis if the programm is running and inspectable.