8 Building a rocket
This chapter covers
- Building complex data structures made up of many different objects of different types
- Abstracting away differences between different but related types
In the last chapter, you made some simple composite types to represent different types of warriors. However, in more realistic applications, you will have to combine many different types of objects into more complex data structures.
To explore this topic, you will be building a rocket in code. Why a rocket? Because rockets are made up of many different parts. That gives you an opportunity to build composite types out of other composite types and show different ways in which abstract types can be used in Julia to facilitate the construction of complex data ...
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.