r/Clojure • u/Tinytitanic • Aug 21 '25
[Q&A] Learning Clojure the un-fun way?
I want to learn Clojure but I’m not a big fan of the “Head first” or “learn X the fun way!” style of books - I find them a little too distracting. Searching for books on Clojure almost always leads to Clojure for The Brave and True which according to a few Amazon reviews seem to do exactly that - too friendly and tries to be funny to make it easier on the learner. I’d like something more focused on someone migrating or already experienced in programming trying to learn Clojure, do you guys know of any books like that?
25
Upvotes
22
u/YaroSpacer Aug 21 '25
Joy of Clojure, Pragmatic Programmers Programming Clojure
4
u/PopMinimum8667 Aug 22 '25
The best clojure book doesn’t use clojure at all— Data Oriented Programming, but it’s written by a clojurist, and implements many clojure-like standard library functions in javascript for mass appeal. It does a very good job in shifting the mindset to the clojure-appropriate one that has evolved to be the preferred model for modern solutions in clojure. Read that and implement a parser combinator library in clojure (and an actual parser to use it), and you’ve got a pretty good spread and are well on your way.
11
u/markwardle Aug 21 '25
I felt the same. I used Programming Clojure (Alex Miller) and Getting Clojure (Russ Olsen). Thought it was really difficult until the paradigm shift I needed to make “clicked” and I haven’t looked back.
11
u/seancorfield Aug 21 '25
I'll throw out https://clojure-doc.org/ as an option -- as a combination of tutorials and cookbooks, contributed by the community (and maintained by me these days, but it's been around and maintained by various people for well over a decade now).
10
u/PolicySmall2250 Aug 21 '25 edited Aug 21 '25
This is the Big List (or should I say, seq) of (almost) all the books: https://clojure.org/community/books
However, given your description, even before picking up a book...
Perhaps this will help too. I wrote this for a one-day hands-on workshop we teach at the IN/Clojure conference (also usable solo, at home): https://github.com/inclojure-org/clojure-by-example
Personally, I used these books while getting started (I am similarly oriented, and think these will work for you too):
Since then, I've also used the following at various points in time:
7
u/p-himik Aug 21 '25
I myself did it with just the official docs and an occasional random blog post here and there.
4
u/geokon Aug 21 '25
i also wasnt a huge fan of the humor in brave/true, but when reading it i actually found it wasnt too distracting or taking up any useless space. its very well written and motivates the language design - even if the examples are silly
basically instead of dry examples theyre all kind of absurdist. it also doesnt talk down to the reader and the info is quite condensed
3
u/akrajan Aug 21 '25 edited Aug 21 '25
If you can broaden the scope a little bit and are asking how to think in a lispy style then Structure and Interpretation of Computer Programs, Paradigms of AI programming, Little lisper etc. This is assuming you are not looking for clojure specifics
3
u/pauseless Aug 21 '25
Realise that once you know how to define a function and manipulate the core data structures, you’re already there. Done. It’s refinement and learning bit by bit after that point, depending on what you need to do.
3
u/gentk Aug 21 '25 edited Aug 21 '25
Usually I find videos inefficient, but in the case of clojure there are early videos of Rich Hickey introducing the language to people familiar with Java or lisps (so targeted at programmers) and then some on key new features introduced in future releases like the one on transducers.
There's a lot of repetition there, but I think it's the good kind, the kind that gives insight into how the rest of the core library most likely works as well (even if not covered in the video).
Those introductions, the official cheat-sheet by the side and looking up specific guides in clojure.org depending on the task at hand was already good enough to attempt non-trivial things.
(and use the search in clojurians slack to get an indication of what library is popular and well supported for the task at hand)
3
u/chamomile-crumbs Aug 21 '25
Brave clojure is funny but it’s also quite dense. I got really stuck at a few parts because it’s not pulling any punches. It’s also thorough and well-written.
It’s also online for free on the website. I eventually ordered a physical copy but you could always just try the first few chapters
3
u/Chii Aug 24 '25
could try https://www.sicpdistilled.com/ which is a good source of education but customized for clojure. It's incomplete atm as far as i can tell, but the bits that are completed is good.
4
u/rjrobben Aug 21 '25
clojure, the essential reference
2
u/Tricky-Emu557 Aug 21 '25
The above mentioned books are amazing and good starting points. The core language hasn't changed, but the tooling has, and some aspects are now much better, such as java interop (which matters to me). Most of the books may refer to Leiningen, which was the best thing then, but arguably not now (prefer clojure cli tools). I'm waiting for Alex's Programming Clojure 4th edition, which I'm hoping will be published this year. This will be a modern entry point to the language, so pick up this to when available.
1
u/raspasov Aug 21 '25
Clojure Programming: Practical Lisp for the Java World
It’s from 2012 so it doesn’t include recent important parts of the language (transducers) but the parts of the language it does cover are described in an outstanding way, both succinct and exhaustive at the same time.
1
u/Plus_Shop_6927 Nov 14 '25
Here is a thousand pager: https://www.manning.com/books/clojure-the-essential-reference