September 2018
Beginner
196 pages
4h 23m
English
We saw in this chapter that code in Julia is represented by expressions that are data structures of the Expr type. The structure of a program and its types can therefore be explored programmatically just like any other data. This means that a running program can dynamically discover its own properties, which is called reflection. We have already encountered some of these macros or functions before:
@isdefined a #> false
Read now
Unlock full access