Get up to speed with Clojure in this quick and practical primer. You'll learn the nuts and bolts of functional programming, data structures, sequences, destructuring, pattern matching, polymorphism, concurrency, conventions, and more. Author Mark McDonnell talks about organization with namespaces; how to change the language via macros; object-oriented programming; and creating command-line apps. Finally, he shows you how to write Clojure from shell languages and interfaces such as Vim.
After reading and using Quick Clojure
, you'll come away with first-hand knowledge and advice on how to quickly adopt, use, and apply Clojure without all the theoretical baggage that bigger books can sometimes bring.
What You'll Learn
Who This Book Is For
- Work with data structures and their syntax
- Discover OOP in Clojure with patterns, polymorphisms, pattern matching, and concurrency
- Use conventions, organization, and namespaces in Clojure
- Create command-line apps
- Build various Clojure projects with the Leiningen IDE tool and framework
Programmers with experience. A Java background would be helpful, but not required.
Mark McDonnell is a Senior Software Engineer at BuzzFeed and was a software developer with BBC and StormCreative. He is a Polyglot programmer with experience in Clojure, Lisp, Vim, Tmax and other scripting languages. He has published books with Apress as well as self-published.
1. What is Clojure?2. Data Structures and Syntax3. Functional Programming4. Sequences5. Functions6. Destructuring7. Pattern Matching8. Concurrency9. Namespaces10. Macros11. Object Orientation12. Leiningen13. Command Line ApplicationsAppendix A: ConventionsAppendix B: Writing Clojure with Vim