15 Functional programming in Julia
This chapter covers
- Why understanding functional programming is important in Julia
- The differences between functional and object-oriented program design
- Practical usage of higher-order functions
- Making your code more readable with function chaining
- Developing a password-keeping service
Julia is a multi-paradigm programming language, but a functional programming style is far more common in Julia than in other mainstream languages you may be familiar with, such as Python, Ruby, Java, or C++. Thus, it is natural to have an understanding of the principles of functional programming to become a good Julia developer.
Functional programming is not always the best approach to solving every problem. In this chapter, ...
Get Julia as a Second Language now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.