This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-22
Channels
- # asami (31)
- # babashka (1)
- # beginners (29)
- # biff (32)
- # cider (6)
- # clojure (29)
- # clojure-europe (7)
- # clojurescript (16)
- # community-development (18)
- # core-typed (11)
- # emacs (8)
- # hyperfiddle (10)
- # lsp (26)
- # nbb (8)
- # off-topic (17)
- # other-languages (1)
- # pedestal (2)
- # reitit (6)
- # releases (1)
- # sci (2)
- # shadow-cljs (19)
Typed Clojure looks amazing! Why aren't more people using it? It's great that it works with Malli and core.spec specs. Are there any big limitations? I see no reason why I wouldn't use this to automatically get compile-time type errors whenever I use specs?
Lots of factors IMO. There are lots of linters and validation tools that give you a lot of bang for your buck without much buy-in. Typed Clojure OTOH needs a lot more babysitting. The features you mention are also in their infancy as they were introduced recently. TC docs are dead, as you can see below. Any time I have goes towards the core type checker instead of the UX (until very recently). Certainly does not go towards marketing any more (I used to hype people up with crowdfunding, but now I just do whatever I have time for).
IMO combining functional style + contracts + unit/generative testing + linting (kondo/eastwood) gives similar benefits (probably way more) than Typed Clojure, for way less effort. There's not a huge demand for much more precision than that stack IMO, beyond "improving error messages". so why bother looking for something more complex in the first place?
those that try Typed Clojure out usually find it's half-finished. because it is. insane how much work as gone into a half-finished project xD it's probably equivalent to the state of typescript in 2015 or something, but without backdoors to get around the awkwardness of the unfinished parts of the type system.
I'm giving http://clojure-doc.org a big overhaul this year -- funded by Clojurists Together -- and it has a fairly large section on core.typed
: https://clojure-doc.org/articles/ecosystem/core_typed/home/ -- that dates back a decade now. Should the whole https://github.com/clojure-doc/clojure-doc.github.io/tree/source/content/md/articles/ecosystem/core_typed tree be retired at this point, in favor of more up-to-date/official documentation? /cc @ambrosebs
Since it seems everything has switched from core.typed
to typedclojure
and no one has responded here, I'm going to assume the core_typed
section of http://clojure-doc.org should all be retired.
@ambrosebs is the current typedclojure maintainer/dev, but he's not on slack much. maybe leave a note on the typedclojure github?
That repo says this is the most active place for discussions -- I looked at the mailing list and Zulip (also both linked from that repo) and they seem almost abandoned. I'll create an issue there and see if Ambrose responds...
@U04V70XH6 @UEENNMX0T thanks for coordinating and executing this, I couldn't spare more than an emoji 🙂
Since it seems everything has switched from core.typed
to typedclojure
and no one has responded here, I'm going to assume the core_typed
section of http://clojure-doc.org should all be retired.