Summary
We have now successfully completed this chapter, which was all about flow control in Julia. We saw how conditional and repeated evaluation works in Julia using keywords and various constructs such as if
, while
, and for
, as well as discussing how to write good code that handles exceptions with constructs, such as try
/catch
. To conclude, we took a look at how to create tasks or coroutines in Julia using the special Task
function.
In the next chapter, we shall move our focus towards learning metaprogramming in Julia, and understanding the various aspects of interoperability in the language.
Â