Clojure Cookbook is O'Reilly's editorial collection of Clojure “recipes” — curated pairs of common programming problems with idiomatic solutions, code examples, and explanations. It's designed to serve both as a tutorial and problem-solving reference in real-world Clojure development. Clojure Cookbook doesn't just teach you Clojure, it also shows you how to use the language and many of its common libraries. The most difficult part of mastering any language is knowing how to apply it, in an idiomatic way, to tasks that real software developers encounter every day. This is especially true of Clojure. Of course, this binding assumes you're using adoc-mode for reading .asciidoc files. We suggest CIDER for evaluating code interactively. Adding the following hook to your config will enable cider-mode every time you enter an AsciiDoc file. Once active, you can start a REPL and evaluate code like you would do in any regular Clojure file.
Features
- Organized as problem-solution code recipes addressing real-world use cases
- Annotated examples and explanatory insights into Clojure idioms
- Covers a broad variety of topics: core language, libraries, data manipulation, web, concurrency, etc.
- Can be read cover-to-cover or used for selective reference based on need
- Supports understanding of both syntax and idiomatic applications
- Hosted and maintained in a public GitHub repository for version control and community contributions