Last Updated on September 21, 2023
Clojure is a dialect of the Lisp programming language. It’s a well-rounded language. It offers broad library support and runs on multiple operating systems.
Clojure is a dynamic functional general purpose programming language that runs on the Java platform, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multi-threaded programming. Clojure features a rich set of immutable, persistent data structures, first-class functions and dynamic typing. Clojure programs are composed of expressions and written in terms of abstractions.
By compiling into JVM bytecode, Clojure applications can be easily packaged and deployed to JVMs and application servers without added complexity. The language also provides macros which make it simple to use existing Java APIs. Clojure’s data structures all implement standard Java Interfaces, making it easy to run code implemented in Clojure from Java.
There’s lots of other good reasons to learn Clojure. It offers a modern take on Lisp. There’s an excellent parser library, and a fully featured logic engine. In Clojure, immutability is the default. Once an object or data structure is created, it cannot be changed. There are no variables.
Clojure currently ranks 46th in the TIOBE Index.
Your starting point to learn Clojure is the official documentation. But here’s 8 free books that will help you master this language.
1. Clojure Cookbook by Luke VanderHart & Ryan Neufeld
Clojure Cookbook is a book you’ll definitely want to read if you’re interested in learning how to program in Clojure. The book goes far beyond teaching this offering you sage advice how to use the language and its many common libraries.
You’ll learn a lot more than Clojure syntax and semantics. There’s lots of annotated example code with good analysis and concise explanation.
The book doubles as a reference guide and a book to unravel the mysteries of the language.
2. Clojure for the Brave and True by Daniel Higginbotham
This is another exceptional book that’s available to read online. But I recommend you buy a printed copy or an ebook to support the author.
Clojure for the Brave and True offers a “dessert-first” approach: you’ll start playing with real programs immediately, as you steadily acclimate to the abstract but powerful features of Lisp and functional programming. Inside you’ll find an offbeat, practical guide to Clojure, filled with quirky sample programs that catch cheese thieves and track glittery vampires.
Clojure for the Brave and True assumes no prior experience with Clojure, the Java Virtual Machine, or functional programming. Start reading at https://www.braveclojure.com/clojure-for-the-brave-and-true/.
3. Clojure from the ground up by Kyle Kingsbury
Clojure from the ground up is a good introduction to learn Clojure.
It aims to introduce newcomers and experienced programmers alike to the beauty of functional programming, starting with the simplest building blocks of software.
Non-commercial re-use with attribution is welcomed by the author.
Kyle is the developer of the Riemann monitoring system and Jepsen, the latter improves the safety of distributed databases, queues, consensus systems, etc.
Read the series at https://aphyr.com/tags/Clojure-from-the-ground-up.
4. Full Stack Clojure by Matt Makai
Full Stack Clojure is an open book that explains each Clojure web application stack layer and provides the best web resources for those topics.
The material covers web frameworks, Compojure, deployment, servers, platform-as-a-service and more.
All books in this series:
|Free Programming Books
|ALGOL-like programming language, extended from Pascal and other languages
|Dependently typed functional language based on intuitionistic Type Theory
|Inexpensive, flexible, open source microcontroller platform
|As close to writing machine code without writing in pure hexadecimal
|Versatile language designed for pattern scanning and processing language
|Shell and command language; popular both as a shell and a scripting language
|Beginner’s All-purpose Symbolic Instruction Code
|General-purpose, procedural, portable, high-level language
|General-purpose, portable, free-form, multi-paradigm language
|Combines the power and flexibility of C++ with the simplicity of Visual Basic
|Dialect of the Lisp programming language
|Common Business-Oriented Language
|Dependently typed language similar to Agda, Idris, F* and others
|General-purpose, concurrent, multi-paradigm, object-oriented language
|CSS (Cascading Style Sheets) specifies a web page’s appearance
|General-purpose systems programming language with a C-like syntax
|Client-optimized language for fast apps on multiple platforms
|Multi-paradigm language supporting functional and object-oriented coding
|Best known as the language embedded in web browsers
|Object-oriented language designed by Bertrand Meyer
|Relatively new functional language running on the Erlang virtual machine
|General-purpose, concurrent, declarative, functional language
|Uses functional, imperative, and object-oriented programming methods
|Dynamic stack-based programming language
|Imperative stack-based programming language
|The first high-level language, using the first compiler
|Compiled, statically typed programming language
|Powerful, optionally typed and dynamic language
|Standardized, general-purpose, polymorphically, statically typed language
|HyperText Markup Language
|Wide variety of features for processing and presenting symbolic data
|Array programming language based primarily on APL
|General-purpose, concurrent, class-based, object-oriented, high-level language
|Interpreted, prototype-based, scripting language
|High-level, high-performance language for technical computing
|More modern version of Java
|Designed to enable domain experts to build power systems quickly
|Professional document preparation system and document markup language
|Unique features - excellent to study programming constructs
|Dialect of Lisp that features interactivity, modularity, extensibility
|Designed as an embeddable scripting language
|Plain text formatting syntax designed to be easy-to-read and easy-to-write
|Object-oriented language that adds Smalltalk-style messaging to C
|The main implementation of the Caml language
|Imperative and procedural language designed in the late 1960s
|High-level, general-purpose, interpreted, scripting, dynamic language
|PHP has been at the helm of the web for many years
|Interpreted, stack-based and Turing complete language
|A general purpose, declarative, logic programming language
|General-purpose, structured, powerful language
|Hierarchical declarative language for user interface layout - JSON-like syntax
|De facto standard among statisticians and data analysts
|General-purpose, object-oriented, multi-paradigm, functional language
|Member of the Perl family of programming languages
|General purpose, scripting, structured, flexible, fully object-oriented language
|Ideal for systems, embedded, and other performance critical code
|Modern, object-functional, multi-paradigm, Java-based language
|A general-purpose, functional language descended from Lisp and Algol
|Visual programming language designed for 8-16 year-old children
|Access and manipulate data held in a relational database management system
|General-purpose functional language characterized as "Lisp with types"
|Powerful and intuitive general-purpose programming language
|Dynamic language based on concepts of Lisp, C, and Unix shells
|Markup and programming language - create professional quality typeset text
|Object-oriented language, syntactically similar to C#
|Hardware description language used in electronic design automation
|Powerful scripting language of the Vim editor
|Rules for defining semantic tags describing structure ad meaning