Abstract
Metaprogramming is the use of code to modify or create other code. It is primarily a developer tool and acts as a force multiplier, allowing large amounts of predictable code to be generated from just a few statements in the host language (or “metalanguage”). It is extremely useful for automating repetitive, boilerplate code.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Editor information
Rights and permissions
Copyright information
© 2010 Luke VanderHart and Stuart Sierra
About this chapter
Cite this chapter
VanderHart, L., Sierra, S. (2010). Macros and Metaprogramming. In: Andres, C., et al. Practical Clojure. Apress. https://doi.org/10.1007/978-1-4302-7230-4_12
Download citation
DOI: https://doi.org/10.1007/978-1-4302-7230-4_12
Publisher Name: Apress
Print ISBN: 978-1-4302-7231-1
Online ISBN: 978-1-4302-7230-4
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books