Browse Clojure Foundations for Java Developers

Fundamental Syntax and Concepts

Learn the small syntax core of Clojure and how to read code fluently.

Clojure’s syntax is small, but unfamiliar at first—especially if you expect it to look like Java. This chapter teaches you to read code before you try to write lots of it: lists (code) vs vectors/maps/sets (data), symbols vs keywords, reader literals, and how namespaces structure real programs.

For Java engineers, the key shift is learning to see “shape” quickly: what kind of value is this, what function transforms it, and where the side effects live. Once you can scan Clojure code and predict what it evaluates to, everything else becomes much less mysterious.

Keep a REPL handy and evaluate examples as you go. In Clojure, literacy comes from running small forms and building intuition about values.

In this section

Revised on Friday, April 24, 2026