Chapter 11Building an Application

Now that you’ve learned the basics of the Clojure language, it’s time to begin using Clojure in your own projects. But when you start to work on your own killer Clojure app, you’ll quickly discover that knowledge of the language is only part of what you need to work effectively. You also need to consider questions of workflow, data structures, polymorphism, testing, and more.

As our sample application, we’ll implement a version of the game Hangman where a player uncovers a word by guessing a sequence of letters. Whereas we show you all the code as we go, this chapter is not really about code. It’s about how we approach solving problems in Clojure, by focusing on how to represent our problem in data, then building ...

Get Programming Clojure, 3rd Edition 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.