Yesterday we looked at Julia’s basic types and operators, and we spent quite a lot of time with its arrays. Julia’s basic data structures are versatile, but it has even more to offer.
First we’ll quickly review control flow, which should feel quite familiar. We’ll also hit abstract and user-defined types and learn all about functions and multiple dispatch.
Finally, we’ll wrap up the day by playing with Julia’s concurrency features, which Julia has assimilated from languages like Erlang.
Julia’s if, while, and for are pretty standard. Their syntax feels like a pleasant mix of Ruby and Python. Julia’s for loops are able to iterate over a variety of things, which is quite handy.
Let’s look at branching with ...