
As an Amazon Associate and affiliate partner, Menrva Books earns from qualifying purchases. Learn more
Drowning in unnecessary complexity, unmanaged state, and tangles of spaghetti code? In the best tradition of Lisp, Clojure gets out of your way so you can focus on expressing simple solutions to hard problems. Clojure cuts through complexity by providing a set of composable tools--immutable data, functions, macros, and the interactive REPL. Written by members of the Clojure core team, this book is the essential, definitive guide to Clojure. This new edition includes information on all the newest features of Clojure, such as transducers and specs. Clojure joins the flexibility and agility of Lisp with the reach, stability, and performance of Java. Combine Clojure's tools for maximum effectiveness as you work with immutable data, functional programming, and safe concurrency to write programs that solve real-world problems. Start by reading and understanding Clojure syntax and see how Clojure is evaluated. From there, find out about the sequence abstraction, which combines immutable collections with functional programming to create truly reusable data transformation code. Clojure is a functional language; learn how to write programs in a functional style, and when and how to use recursion to your advantage. Discover Clojure's unique approach to state and identity, techniques for polymorphism and open systems using multimethods and protocols, and how to leverage Clojure's metaprogramming capabilities via macros. Finally, put all the pieces together in a real program. New to this edition is coverage of Clojure's spec library, one of the most interesting new features of Clojure for describing both data and functions. You can use Clojure spec to validate data, destructure data, explain invalid data, and generate large numbers of tests to verify the correctness of your code. With this book, you'll learn how to think in Clojure, and how to take advantage of its combined strengths to build powerful programs quickly. What You Need:
This book serves as a definitive guide to the Clojure programming language, focusing on its core principles and modern features. Written by members of the Clojure core team, it aims to equip readers with the tools to express simple solutions to complex problems by leveraging Clojure's immutable data structures, functional programming paradigms, and powerful macro system. The text guides users from understanding basic syntax and evaluation to mastering advanced concepts like transducers, specs, and safe concurrency, ultimately enabling them to build robust applications efficiently.
This book is presented as the essential, definitive guide to Clojure, written by members of its core team. It emphasizes Clojure's ability to cut through complexity using immutable data, functions, and macros, and highlights its integration with the Java ecosystem. The new edition specifically includes coverage of recent features like transducers and specs, aiming to teach readers how to 'think in Clojure' and build powerful programs quickly. The text is structured to guide users from fundamental syntax to advanced techniques for effective software development.
Page Count:
304
Publication Date:
2018-01-01
Publisher:
Pragmatic Bookshelf
ISBN-10:
1680502468
ISBN-13:
9781680502466
No comments yet. Be the first to share your thoughts!