Part 1. Getting started

Learning a new programming language is difficult for several reasons: there’s a new syntax to learn, some potentially new concepts, and maybe a new paradigm. Most of all, it’s difficult because a new language makes you feel like a novice again. Unless you stick with it and gain some experience, even a simple task will seem like a chore. Your incentive to stick with it, is knowing that the reward at the end of your labor will be worth the work.

Clojure is such a language. It may appear daunting at first, especially given the different syntax. State changes work differently in Clojure, so that’s an adjustment. It’s a functional programming language, so you need to get used to thinking in terms of functions. If you’re coming ...

Get Clojure in Action 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.