Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Mastering Clojure Macros: Write Cleaner, Faster, Smarter Code

Buy

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.

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.

What You Need:The book examples have been developed under Clojure 1.6.0, although earlier and later versions of Clojure may work as well. You'll want to use Leiningen 2.x in order to follow along with the examples that use external projects.

(HTML tags aren't allowed.)

The Well Timed Strategy: Managing the Business Cycle for Competitive Advantage
The Well Timed Strategy: Managing the Business Cycle for Competitive Advantage

Most companies ignore one of their best opportunities for honing competitive advantage: the opportunity to proactively manage business cycles and macroeconomic turbulence. Despite the profound impact that the business cycle has on the fortunes and fate of so many businesses large and small--and the employees and investors...

Self-Constitution: Agency, Identity, and Integrity
Self-Constitution: Agency, Identity, and Integrity
Christine M. Korsgaard presents an account of the foundation of practical reason and moral obligation. Moral philosophy aspires to understand the fact that human actions, unlike the actions of the other animals, can be morally good or bad, right or wrong. Few moral philosophers, however, have exploited the idea that actions might be morally good or...
Storage Network Performance Analysis
Storage Network Performance Analysis
Your in-depth guide to analyzing and fine-tuning storage area network performance

Here, for the first time, is your complete resource for optimizing SAN performance and reliability in your organization. Whether you need to evaluate an existing system or design one from the ground up, this book provides a comprehensive, vendor-neutral collection...


SamsTeachYourself TweetDeck
SamsTeachYourself TweetDeck

Do you like to tweet? Or follow other people’s tweets? Are you a heavy Facebook user? Do you like to follow your favorite entertainers on MySpace? Do you network with other business professionals on LinkedIn? If you engage in one or more of these activities, you know how time consuming the whole social networking thing can be. This is...

Practical Data Structures in C++
Hybrid Cloud for Architects: Build robust hybrid cloud solutions using AWS and OpenStack
Hybrid Cloud for Architects: Build robust hybrid cloud solutions using AWS and OpenStack

Build your own hybrid cloud strategy with this comprehensive learning guide.

Key Features

  • Build a hybrid cloud strategy for your organization with AWS and OpenStack
  • Leverage Hybrid Cloud to design a complex deployment pipeline
  • Learn to implement security...
©2021 LearnIT (support@pdfchm.net) - Privacy Policy