Lately, I’ve been training some people outside of my day job in Clojure. This will be their first focused foray into the language. I am no expert myself, but part of the magic of Clojure is that it’s simple to pick up, but difficult to master. So, I feel like if I can set a solid foundation, then they will feel confident to take ownership of their learning. It may even result in something they can add to their resume. I know some of these people are really interested in changing industries to get into software development. A little mentorship goes a long way.
In this article, I’m going go through my beginner training process. Here’s the TL;DR:
-
Install Corretto 8 and Clojure
-
Don’t install Leiningen (but be aware of its existence) or Emacs; instead, use Visual Studio Code (and the Calva extension)
-
Create a new directory for your code
-
Create a new file called
deps.edn
in the new directory you created -
Make the contents of
deps.edn
this:{}
-
Open the new directory you created in Visual Studio Code
-
Jack-in to your REPL with Visual Studio Code with Calva
-
Read up to Chapter 5 of Clojure for the Brave and True (Skip Chapter 2)
-
Make a GitHub repository and show me what you learned from the book