Like most languages, Clojure has conventions and best practices for the layout and organization of source code. Let’s take a look at these below.
Names
As you might have noticed, Clojure uses the kebab-case to define most of the names in Clojure, which means that the names are all in lowercase and separated by the dash symbol (-
). We’ll define def
, defn
, bindings in general, and many others with this style.
Create a free account to view this lesson.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Educative's Terms of Service and Privacy Policy