6FUNCTIONS, METAPROGRAMMING, AND ERRORS
A small error at the beginning of something is a great one at the end.
—Thomas Aquinas
In this chapter, we’ll explore three topics that afford greater power, control, and flexibility when writing programs. We’ll delve deeper into the central subject of functions, and further explore function arguments and higher-order functions. We’ll see how metaprogramming and macros let us create new syntax and bend Julia to our will in a way that’s not possible with most programming languages. Finally, we’ll see how to take control of the error system and use it to manipulate program execution.
Functions and Their ...
Get Practical Julia now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.