I find I very rarely use let in Clojure. For some reason I took a dislike to it when I started learning and have avoided using it ever since. It feels like the flow has stopped when let comes along. I was wondering, do you think we could do without it altogether ?
I find I very rarely use let in Clojure. For some reason I took
Share
You can replace any occurrence of
(let [a1 b1 a2 b2...] ...)by((fn [a1 a2 ...] ...) b1 b2 ...)so yes, we could. I am using let a lot though, and I’d rather not do without it.