Mastering Clojure Macros; Win 5 Print Books
August 20, 2014
Level up your skills by taking advantage of Clojure's powerful macro system, and see how you could win five free print books. Read on for details.
Mastering Clojure Macros
Clojure offers some sharp tools in its toolbox, and one of the sharpest is its macro system. This book will help you write macros using Clojure, and more importantly, recognize when you should be using macros in the first place.
The Lisp "code-as-data" philosophy gives tremendous advantages to macro authors and users. You can use macros to evaluate code in other contexts, move computations to compile time, and create beautiful API layers. You don't need to wait on the Clojure language itself to add new features, you'll learn how to implement even the lowest-level features as macros. You'll step through representative samples of how to use macros in production libraries and applications, find clear details on how to construct macros, and learn pointers to avoid obstacles that often trip up macro amateurs.
Clojure macros are more straightforward to use than metaprogramming features in many other languages, but they're different enough from normal programming to present challenges of their own. Mastering Clojure Macros examines some of these issues, along with alternatives to macros where they exist.
By the time you finish this book, you'll be thinking like a macro professional.
Now available at pragprog.com/book/cjclojure. Paper books start shipping on 8/29.
Help Developers and Win Print Books!
You could be featured in an upcoming weekly newsletter, and win five free print books.
Email us at firstname.lastname@example.org and tell us how our books have changed you, your team, or your company for the better. Tell us your story in 3 or 4 paragraphs or so. We'll read all your stories and draw at least one winner who will receive five free print books. If we get enough great entries, we may pick additional winners. It's up to you.
We'll feature the winning entry or entries right here in the newsletter, as well as on our website at pragprog.com for the whole world to see.
Tell us your story, and help out your fellow software developers.
Upcoming Author Appearances
Don't Get Left Out
Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on pragprog.com (email address and password is all it takes) and select the checkbox to receive newsletters.
Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:
Tell your friends! Tweet this
- Fire in the Valley in print
- Seven More Languages in Seven Weeks in print
- Dart 1.0
- Metaprogramming Ruby 2
- Growing Rails Applications in Practice
- Build iOS Games with Sprite Kit
- Seven Concurrency Models in Seven Weeks
Thanks for your continued support,
Andy & Dave
The Pragmatic Programmers
Books • eBooks • PragPub Magazine • Audiobooks and Screencasts