Very nice to see the core team, but is Rich okay? He always sits with crossed arms, barely smiling, and looks almost bullied when he's not speaking.
The future of Clojure discussion is disappointing: keep the language small, but grow the user base (a task assigned to the community) and libraries (also the community). The attitude is reasonable but it borders the line with not touching the language anymore and letting the community do everything while it has no say in the language itself.
Would be nice to have a spec release, the ideas in Maybe Not outline a view on a reasonable implementation of a """type system""", but 4 years later there is nothing. It's a sad because the built-in data validation tooling needs more love, both in functionality, semantics (eval to produce specs dynamically?), and performance.
Rich is fine. :) The ideas in Maybe Not have been partly implemented in spec 2 (https://github.com/clojure/spec-alpha2/wiki/Schema-and-select) but stalled out in thinking about how we want to integrate it with defn, which is tricky. But I think we'll be picking that up again soon-ish.
It's a sad because the built-in data validation tooling needs more love, both in functionality, semantics (eval to produce specs dynamically?), and performance.
I'm not going to use malli because the spec is built in and integrated into the language. Spec 2 aims to be integrated into defns it seems. There is more leverage in a data specification and validation library when it's built-in, the only real problem with spec is that it's half-baked. All the spec downsides mentioned in malli's rationale (macros and dynamic transformation) are solved in spec 2 as far as I understand, just pick it up soonisher, Clojure team.
I'm not going to use malli because the spec is built in and integrated into the language.
There is more leverage in a data specification and validation library when it's built-in
You're waiting for something that may take a long time or may never happen. In the meantime there is malli, which is actively developed (while spec development seems dead?), used in production and supported by tooling. If you are running a business today, I think the choice is obvious
20
u/Green_Tomorrow4702 Nov 04 '22
Very nice to see the core team, but is Rich okay? He always sits with crossed arms, barely smiling, and looks almost bullied when he's not speaking.
The future of Clojure discussion is disappointing: keep the language small, but grow the user base (a task assigned to the community) and libraries (also the community). The attitude is reasonable but it borders the line with not touching the language anymore and letting the community do everything while it has no say in the language itself.
Would be nice to have a spec release, the ideas in Maybe Not outline a view on a reasonable implementation of a """type system""", but 4 years later there is nothing. It's a sad because the built-in data validation tooling needs more love, both in functionality, semantics (eval to produce specs dynamically?), and performance.