web-development-with-clojure
core.typed
web-development-with-clojure | core.typed | |
---|---|---|
1 | 5 | |
5 | 1,277 | |
- | 0.0% | |
0.0 | 0.0 | |
almost 7 years ago | over 2 years ago | |
Clojure | Clojure | |
- | Eclipse Public License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
web-development-with-clojure
-
Six years of professional Clojure development
I actually did build something basic following the book Web Development With Clojure (https://github.com/jumarko/web-development-with-clojure), but honestly the way the code snippets were presented in the book were sometimes difficult to use if trying to follow along and build it yourself.
I think you could probably get code from different chapters from their git repo, but then you're not doing it yourself - you are instead trying to read diffs to understand what's new and figure out why it has been changed.
My experience has been that there is no complete guide, tutorial, or example that is kept current and provides every detail such that you can follow it and learn. I'm sure with enough concerted effort, one obviously can learn it... but there will be some trial and error and some guesswork. Normally that's fine, but it slows the process compared to other tech stacks and their guides.
The Clojure community is nice and helpful, but they're all busy doing real work (rather than teaching). Even the book I mentioned is not yet complete and has been in progress for over two years I think.
core.typed
-
Does Go Have Subtyping?
...and Typed Racket is a really powerful type system (see refinement types[4]). So, I thought it's just a matter of time for Clojure to get to that level of power and support. It should be much easier to do this to Clojure than to Ruby, given that you have a working example of how to do it well. So I'm really surprised Clojure isn't gradually typed by now, with most of the code being annotated and type-checked at compile time.
[1] https://github.com/clojure/core.typed
[2] https://github.com/typedclojure/typedclojure
[3] https://github.com/typedclojure/typedclojure/blob/main/examp...
[4] https://docs.racket-lang.org/ts-reference/Experimental_Featu...
-
What's the idiomatic way to think about type safety/domain modeling in Clojure?
gradual typing (spec/schema/malli) or actual type systems like https://github.com/clojure/core.typed . I don't use them too much though.
-
Six years of professional Clojure development
Do you know about the Typed Clojure project? More or less Racket's contract system, for Clojure:
https://github.com/clojure/core.typed
To me, it's one of the great testaments to the power of Lisp that you can bolt on a static type system after the fact.
-
Is Clojure worth learning?
There's also https://github.com/clojure/core.typed Typed Clojure
What are some alternatives?
clj-kondo - Static analyzer and linter for Clojure code that sparks joy
janet - A dynamic language and bytecode vm
deprecated-coalton-prototype - Coalton is (supposed to be) a dialect of ML embedded in Common Lisp.
inspector - Turn Clojure specs into clj-kondo type annotations
schema - Clojure(Script) library for declarative data description and validation
immer - Postmodern immutable and persistent data structures for C++ — value semantics at scale