In this chapter, we explored different control constructs, such as if and while. We also saw how to catch exceptions with try or catch, and how to throw our own exceptions. Some subtleties of scope were discussed, and finally, we got an overview of how to use coroutines in Julia with tasks. Now we are well-equipped to explore more complex types that consist of many elements. This is the topic of the next chapter, Collection Types.




















































