Unit 1. Get familiar with Clojure syntax
On one hand, Clojure syntax is so simple that it can be learnt in a couple of pages. On the other hand, it differs so much from other programming languages syntax that it will take time for your mind to get used to it.
The main purpose of this Unit is to get your mind used to the Clojure syntax until it starts to feel natural to you. We will expose the details of Clojure syntax for operations that you are already used to from other programming language only involving numbers and booleans.
The concepts are introduced slowly and different aspects of the syntax are exposed several times in a slightly different manner through the Unit without working in a real Clojure environment. The Clojure environment will be set up in Unit 2. We believe that it is more productive to train your mind with pencil and paper only before rushing on a keyboard.
After completing this Unit, you will be familiar with Clojure syntax where everything is wrapped with parentheses and without commas.
As we mentioned it in Unit 0, Clojure syntax is the same across the board. Once you get used to the syntax for manipulating numbers, you are ready to move forward and learn other parts of the language without having to learn any new syntax.
Units 1, 2 and 3 are oriented toward a noble purpose: they teach you how to write and test a real function in a Clojure environment on your machine.
Here are the high level concepts that will be explored in Units 1, 2 and 3: