Summary
In this chapter, we saw how functions are defined in Julia and how to play around with function arguments. We covered different types of argument passing methods, such as variable arguments, single arguments, and even no arguments. Later on in the chapter, we discussed how multiple dispatch makes Julia one of the best languages available in the programming world because of the speed boost it provides. Interestingly, we focused on a topic named recursion, which, although not specific to functions, was covered just to give a brief overview of what recursive functions are and how recursion is done in Julia. And, lastly, we covered some of the most commonly used built-in functions provided by Julia's rich library.
Now that we have a solid ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access