May 2019
Beginner to intermediate
466 pages
10h 44m
English
A named tuple represents a tuple with labeled items. We can access the individual components by label or by index:
julia> skills = (language = "Julia", version = v"1.0") (language = "Julia", version = v"1.0.0") julia> skills.language "Julia" julia> skills[1] "Julia"
Named tuples can be very powerful as they are similar to full-blown objects, but with the limitation that they are immutable.
Read now
Unlock full access