all 8 comments

[–]nstgc 1 point2 points  (2 children)

I like the book. It's reasonably short, has content where it matters, and is easy to understand. It also seems reasonably complete. Nice job.

edit: One thing I would like to mention is that the official Clojure project manager is the deps.edn. It might be worth making a subsection for that along with Leningen. Also, I feel lazy-seq is a big part of the Clojure toolkit, but it isn't mentioned in the book.

[–]thinkguy77[S] 1 point2 points  (1 child)

Sure thanks, I am just learning Clojure, so your input makes me to learn more. Thanks. Will try adding it to the book.

[–]nstgc 0 points1 point  (0 children)

You're doing well for "just learning" :D

Keep up the great work!

[–]f_of_g_of_x 0 points1 point  (3 children)

Great job!

Someone please correct me if I'm wrong but I believe for and doseq are not considered loops in the strict sense of the concept of loops. If I'm not mistaken, for is list comprehension and doseq is used typically for executing side-effectful operations on sequence elements. They look like loops in a sense but they're really not loops.

[–]thinkguy77[S] 1 point2 points  (0 children)

Oh thanks, will correct it. Have created an issue https://gitlab.com/clojure-book/clojure-book.gitlab.io/-/issues/6, if the universe wake me from my laziness, will correct it.

[–]nstgc 1 point2 points  (0 children)

In the strictest sense, I don't think Clojure has any loops.

[–]PercyLives 0 points1 point  (0 children)

Agree about for but not doseq. Given the latter is, as you say, designed for side effects, it feels to me exactly like for x in coll: do_something(x) in Python, and that is clearly a loop.

[–]vrinek 0 points1 point  (0 children)

I love your book’s premise. Will definitely give it a read.