Chapter 1. Live Programming with Clojure

In this chapter, we will cover the following topics:

  • REPL up!
  • Working with primitive data types
  • Using bindings of vars, conditions, loops, and error handling
  • Using and defining functions
  • Using third-party libraries
  • Using namespaces

Introduction

Clojure is a blend of Lisp and Java. Clojure allows you to solve what you want quickly and keeps code simple. Once you learn Clojure, it's great fun to use it! Clojure provides the following fantastic features:

  • Clojure is a dialect of Lisp and supports the functional programing style
  • It runs on Java Virtual Machine (JVM) and can use Java's assets seamlessly
  • It also supports immutability and concurrent programming

In this chapter, we will review how to set up a Clojure REPL environment ...

Get Clojure Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.