This chapter will continue looking at the fundamental concepts of Julia. The topics that we have chosen here will provide a solid foundation of the key concepts of Julia programming. In particular, we will discuss the core Julia programming techniques that are related to functions and interfaces. Functions are the fundamental building blocks of software. Interfaces are contractual relationships between different components of the software. Effective use of functions and interfaces is a must for building robust applications.
The following topics will be covered in this chapter:
- Functions
- Multiple dispatch
- Parametric methods
- Interfaces
As part of the learning process, we will go over a use case of game design. More specifically, we will pretend that we are building a space war game that contains a game board with spaceships and asteroid...