Thanks for posting the video. It’s useful to see as someone new to Clojure and its workflow.
I’m just wondering if there is any reason why`(map #(clojure.string/lower-case %))` was used instead of
(map clojure.string/lower-case) .
Is it a common choice, or just personal preference?
Oh yes, that would be simpler.. I guess I got too trigger happy with the anonymous function. I also think I may have used
apply str instead of
clojure.string/lower-case in a previous version and forgot to remove the surrounding anonymous function.
Sometime you need the anonymous function if you have more arguments or want to control the order of those arguments, but not in this case.. Good spot.
I will be doing more videos about REPL driven development over the coming weeks
Live Broadcast - Saturday 09:00 UTC+1 (United Kingdom time) https://youtu.be/u5VoFpsntXc Designing a Clojure deps.edn configuration for all your projects and understanding some of the most common tools available A tour of the https://github.com/practicalli/clojure-deps-edn user level configuration and the many tools available on top of the Clojure CLI tools approach, providing ways to run repls, generate projects, updating dependencies, test runners, run and package applications, using data inspectors, etc. Along the way I'll discuss the design of the aliases and the recent changes to using aliases with the -M flag and -X flags, which is an important change to the way we use Clojure CLI tools