
Автор: Colin Jones
Издательство: Pragmatic Bookshelf
Год: August 2014
Страниц: 111
Язык: английский
Формат: pdf (true)
Размер: 10.1 MB
Level up your skills by taking advantage of Clojure's powerful macro system. Macros make hard things possible and normal things easy. They can be tricky to use, and this book will help you deftly navigate the terrain. You'll discover how to write straightforward code that avoids duplication and clarifies your intentions. You'll learn how and why to write macros. You'll learn to recognize situations when using a macro would (and wouldn't!) be helpful. And you'll use macros to remove unnecessary code and build new language features. This book assumes that you’ve programmed in Clojure a bit but that you’re not yet a master of Clojure macros. Experienced Clojure programmers will no doubt recognize situations they’ve encountered before, whereas newer Clojure folks will learn to avoid some of the stumbles the rest of us have made when learning macros.