Clojure Conventions

Learn about the Clojure style guide that recommends best practices in the layout and organization of our source code.

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.

By signing up, you agree to Educative's Terms of Service and Privacy Policy