Julia's type system

Julia is not an object-oriented language, so when we speak of objects, they are a different sort of data structure from those in traditional O-O languages.

Julia does not allow types to have methods, so it is not possible to create subtypes that inherit methods. While this might seem restrictive, it does permit methods to use a multiple dispatch call structure rather than the single dispatch system employed in object-orientated ones.

Coupled with Julia's system of types, multiple dispatch is extremely powerful. Moreover, it is a more logical approach for data scientists and scientific programmers, and if for no other reason than exposing this to you, the analyst/programmer is a reason to use Julia. In fact, there are lots of ...

Get Julia: High Performance Programming 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.