November 2017
Beginner
316 pages
6h 40m
English
Abstract data types are the ones that cannot be instantiated. They serve as the basic pillars of the type system in Julia. Or, in other words, other types inside Julia can inherit any one of these base types. Examples of abstract data types are Number, Integer, and Signed.
Julia supports all the basic data types, along with the ability to add in new user-defined data types as well as composite types. The way they are prioritized is something that we will learn about in the next section when we read about subtypes and supertypes.
Before we begin talking about the different data types in detail, I want to share three simple functions that we will be using to know more about types:
Read now
Unlock full access