- Learn to address information utilizing sequences, reducers, and transducers in Clojure
- Explore the lesser identified and extra complex good points, constructs, and methodologies of the Clojure language and its environment, reminiscent of asynchronous channels, actors, common sense programming, and reactive programming
- Sharpen your Clojure talents via illustrative and entire examples
Clojure is a general-purpose language from the Lisp relatives with an emphasis on useful programming. It has a few fascinating recommendations and lines akin to immutability, sluggish typing, thread-safe concurrency primitives, and macro-based metaprogramming, which makes it an exceptional option to create smooth, performant, and scalable applications.
Mastering Clojure can provide an perception into the nitty-gritty info and extra complex beneficial properties of the Clojure programming language to create extra scalable, maintainable, and chic functions. you will begin via studying the main points of sequences, concurrency primitives, and macros. full of loads of examples, you will get a walkthrough on orchestrating concurrency and parallelism, in an effort to assist you comprehend Clojure reducers, and we are going to stroll via composing transducers so that you find out about practical composition and procedure transformation inside of out. We additionally clarify how reducers and transducers can be utilized to address info in a extra performant manner.
Later on, we describe how Clojure additionally helps different programming paradigms equivalent to natural practical programming and good judgment programming. in addition, you are going to point up your abilities by means of benefiting from Clojure's robust macro method. Parallel, asynchronous, and reactive programming ideas also are defined in detail.
Lastly, we are going to allow you to try out and troubleshoot your code to hurry up your improvement cycles and let you install the code faster.
What you'll learn
- Maximize the effect of parallelization, useful composition, and procedure transformation by way of composing reducers and transducers
- Process and control info utilizing sequences, reducers, and transducers in Clojure
- Modify and upload positive factors to the Clojure language utilizing macros
- Explore the good points of class idea and customized info resources for good judgment programming in Clojure
- Orchestrate parallelism and concurrency utilizing integrated primitives in addition to group libraries in Clojure
- Handle info with asynchronous and reactive programming methodologies and leverage it utilizing the core.async library
- Test your code with unit assessments, specifications, and kind assessments to write down testable code
- Troubleshoot and elegance your Clojure code to make it extra maintainable
About the Author
Table of Contents
- Working with Sequences and Patterns
- Orchestrating Concurrency and Parallelism
- Parallelization utilizing Reducers
- Metaprogramming with Macros
- Composing Transducers
- Exploring class Theory
- Programming with Logic
- Leveraging Asynchronous Tasks
- Reactive Programming
- Testing Your Code
- Troubleshooting and most sensible Practices