© Antonello Lobianco 2019
Antonello LobiancoJulia Quick Syntax Referencehttps://doi.org/10.1007/978-1-4842-5190-4_4

4. Custom Types

Antonello Lobianco
(1)
Nancy, France
 
Chapter 2, “Data Types and Structures,” discussed built-in types, including containers. In this chapter, we move to study how to create user-defined types.
A477168_1_En_4_Figa_HTML.gif Type versus Structure
Let’s clarify these two terms in the Julia language context.
A type of an object, in plain English, refers to the set of characteristics that describe the object. For example, an object of type sheet can be described with its dimensions, its weight, its size, or its colour.
All values in Julia are true objects ...

Get Julia Quick Syntax Reference: A Pocket Guide for Data Science Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.