Getting Clojure: Build Your Functional Skills One Idea at a Time

Getting Clojure: Build Your Functional Skills One Idea at a Time

Book Description
Behind every programming language lies a vision of how programs should be built. The vision behind Clojure is of a radically simple language framework holding together a sophisticated collection of programming features. Learning Clojure involves much more than just learning the mechanics of the language. To really get Clojure you need to understand the ideas underlying this structure of framework and features. You need this book: an accessible introduction to Clojure that focuses on the ideas behind the language as well as the practical details of writing code.
Clojure attracts developers on the cutting edge and is arguably the best language for learning to program in the functional style without compromise. But this comes with a steep learning curve. Getting Clojure directly addresses this by teaching you how to think functionally as it teaches you the language. You'll learn about Clojure's powerful data structures and high-level functions, but you'll also learn what it means for a language to be functional, and how to think in Clojure's functional way.
Each chapter of Getting Clojure takes a feature or two or three from the language, explains the syntax and the mechanics behind that feature so that you can make it work before digging into the deeper questions: What is the thinking behind the feature? And how does it fit in with the rest of the language? In Getting Clojure you'll learn Clojure's very simple syntax, but you'll also learn why that syntax is integral the way the language is constructed. You'll discover that most data structures in Clojure are immutable, but also why that leads to more reliable programs. And you'll see how easy it is to write Clojure functions and also how you can use those functions to build complex and capable systems.
With real-world examples of how working Clojure programmers use the language, Getting Clojure will help you see the challenges of programming through the eye of experienced Clojure developers.


Part I — Basics
1. Hello, Clojure
2. Vectors and Lists
3. Maps, Keywords, and Sets
4. Logic
5. More Capable Functions
6. Functional Things
7. Let
8. Def, Symbols, and Vars
9. Namespaces

Part II — Intermediate
10. Sequences
11. Lazy Sequences
12. Destructuring
13. Records and Protocols
14. Tests
15. Spec

Part III — Advanced
16. Interoperating with Java
17. Threads, Promises, and Futures
18. State
19. Read and Eval
20. Macros
21. Conclusion

Download Getting Clojure: Build Your Functional Skills One Idea at a Time PDF or ePUB format free

Free sample

Download in .PDF format

Download in .ePUB format

Add comments
Введите код с картинки:*
Кликните на изображение чтобы обновить код, если он неразборчив
Copyright © 2019