Clojure

Excellent Free Books to Learn about Clojure

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-CookbookClojure 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.

Grab the book from https://clojure-cookbook.com/. There’s also a GitHub repository.


2. Clojure for the Brave and True by Daniel Higginbotham

Clojure-for-the-Brave-and-TrueThis 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-upClojure 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-ClojureFull 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.

Read this guide at https://www.fullstackclojure.com/. There’s also a GitHub repository at https://github.com/mattmakai/fullstackclojure.com.


Next page: Page 2 – A Brief Beginner’s Guide To Clojure and more books

Pages in this article:
Page 1 – Clojure Cookbook and more books
Page 2 – A Brief Beginner’s Guide To Clojure and more books


All books in this series:

Free Programming Books
JavaGeneral-purpose, concurrent, class-based, object-oriented, high-level language
CGeneral-purpose, procedural, portable, high-level language
PythonGeneral-purpose, structured, powerful language
C++General-purpose, portable, free-form, multi-paradigm language
C#Combines the power and flexibility of C++ with the simplicity of Visual Basic
JavaScriptInterpreted, prototype-based, scripting language
PHPPHP has been at the helm of the web for many years
HTMLHyperText Markup Language
SQLAccess and manipulate data held in a relational database management system
RubyGeneral purpose, scripting, structured, flexible, fully object-oriented language
AssemblyAs close to writing machine code without writing in pure hexadecimal
SwiftPowerful and intuitive general-purpose programming language
GroovyPowerful, optionally typed and dynamic language
GoCompiled, statically typed programming language
PascalImperative and procedural language designed in the late 1960s
PerlHigh-level, general-purpose, interpreted, scripting, dynamic language
RDe facto standard among statisticians and data analysts
COBOLCommon Business-Oriented Language
ScalaModern, object-functional, multi-paradigm, Java-based language
FortranThe first high-level language, using the first compiler
ScratchVisual programming language designed for 8-16 year-old children
LuaDesigned as an embeddable scripting language
LogoDialect of Lisp that features interactivity, modularity, extensibility
RustIdeal for systems, embedded, and other performance critical code
LispUnique features - excellent to study programming constructs
AdaALGOL-like programming language, extended from Pascal and other languages
HaskellStandardized, general-purpose, polymorphically, statically typed language
SchemeA general-purpose, functional language descended from Lisp and Algol
PrologA general purpose, declarative, logic programming language
ForthImperative stack-based programming language
ClojureDialect of the Lisp programming language
JuliaHigh-level, high-performance language for technical computing
AwkVersatile language designed for pattern scanning and processing language
CoffeeScriptTranscompiles into JavaScript inspired by Ruby, Python and Haskell
BASICBeginner’s All-purpose Symbolic Instruction Code
ErlangGeneral-purpose, concurrent, declarative, functional language
VimLPowerful scripting language of the Vim editor
OCamlThe main implementation of the Caml language
ECMAScriptBest known as the language embedded in web browsers
BashShell and command language; popular both as a shell and a scripting language
LaTeXProfessional document preparation system and document markup language
TeXMarkup and programming language - create professional quality typeset text
ArduinoInexpensive, flexible, open source microcontroller platform
TypeScriptStrict syntactical superset of JavaScript adding optional static typing
ElixirRelatively new functional language running on the Erlang virtual machine
F#Uses functional, imperative, and object-oriented programming methods
TclDynamic language based on concepts of Lisp, C, and Unix shells
FactorDynamic stack-based programming language
EiffelObject-oriented language designed by Bertrand Meyer
AgdaDependently typed functional language based on intuitionistic Type Theory
IconWide variety of features for processing and presenting symbolic data
XMLRules for defining semantic tags describing structure ad meaning
ValaObject-oriented language, syntactically similar to C#
Standard MLGeneral-purpose functional language characterized as "Lisp with types"
DGeneral-purpose systems programming language with a C-like syntax
DartClient-optimized language for fast apps on multiple platforms
MarkdownPlain text formatting syntax designed to be easy-to-read and easy-to-write
KotlinMore modern version of Java
Objective-CObject-oriented language that adds Smalltalk-style messaging to C
PureScriptSmall strongly, statically typed language compiling to JavaScript
ClojureScriptCompiler for Clojure that targets JavaScript
VHDLHardware description language used in electronic design automation
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.