Download Mastering Clojure Macros: Write Cleaner, Faster, Smarter by Colin Jones PDF

By Colin Jones

Level up your abilities through profiting from Clojure's robust macro approach. Macros make tough issues attainable and basic issues effortless. they are often tough to exploit, and this e-book can help you deftly navigate the terrain. you will discover the best way to write elementary code that avoids duplication and clarifies your intentions. you will learn the way and why to jot down macros. you are going to discover ways to realize events whilst utilizing a macro might (and wouldn't!) be worthy. and you can use macros to take away pointless code and construct new language features.

Clojure bargains a few sharp instruments in its toolbox, and one of many sharpest is its macro procedure. This publication may also help you write macros utilizing Clojure, and extra importantly, realize if you happen to could be utilizing macros within the first place.

The Lisp "code-as-data" philosophy provides super merits to macro authors and clients. you should use macros to guage code in different contexts, circulation computations to collect time, and create attractive API layers. you do not need to attend at the Clojure language itself so as to add new positive aspects, you are going to easy methods to enforce even the lowest-level gains as macros. you are going to step via consultant samples of ways to exploit macros in construction libraries and purposes, locate transparent info on the right way to build macros, and study tips to stay away from stumbling blocks that frequently journey up macro amateurs.

Clojure macros are more uncomplicated to take advantage of than metaprogramming positive aspects in lots of different languages, yet they're diversified sufficient from basic programming to provide demanding situations in their personal. Mastering Clojure Macros examines a few of these matters, besides choices to macros the place they exist.

By the time you end this e-book, you will be considering like a macro professional.

What You Need:The booklet examples were built less than Clojure 1.6.0, even supposing past and later types of Clojure may match in addition. you should use Leiningen 2.x as a way to stick to besides the examples that use exterior projects.

Show description

Read or Download Mastering Clojure Macros: Write Cleaner, Faster, Smarter Code PDF

Best application development books

IBM Lotus Notes and Domino 8.5.3: Upgrader's Guide

This functional instructional walks throughout the new positive factors of the Lotus Notes/Domino eight. five. three suite and records technical beneficial properties in a descriptive method, with examples and valuable screenshots. The booklet additionally discusses most likely difficulties you could face whereas upgrading, and exhibits you ways to get the main out of the intriguing new gains.

Internet of Things with Intel Galileo

This publication begins by way of educating you the necessities of the Intel Galileo board, its parts, how you can twine it, and the way to take advantage of it competently. The booklet will train you ways to take advantage of and mix easy sensors to construct extra complicated attached items with assistance from an online connection. you are going to additionally how to keep an eye on and skim out of your sensors by means of development a couple of fascinating initiatives.

Calm Technology: Principles and Patterns for Non-Intrusive Design

How will you layout expertise that turns into part of a user’s existence and never a distraction from it? This functional publication explores the concept that of calm know-how, a mode for easily taking pictures a user’s awareness merely while helpful, whereas frivolously final within the history more often than not. You’ll how to layout items that paintings good, release good, are effortless to aid, effortless to take advantage of, and stay unobtrusive.

Learning Xcode 8

Key FeaturesLearn the speculation and instruments at the back of app improvement utilizing fast three and Xcode 8Build an absolutely featured iOS app, together with a spouse app for the Apple WatchOptimize, debug, and finally unencumber your app on TestFlight and the App StoreBook DescriptionOver the previous few years, we have seen a step forward in cellular computing and the start of world-changing cellular apps.

Additional resources for Mastering Clojure Macros: Write Cleaner, Faster, Smarter Code

Sample text

Download PDF sample

Rated 4.37 of 5 – based on 49 votes