September 2025
Intermediate to advanced
552 pages
14h 5m
English
So far, most objects we have handled in our programs have been variables—that is, objects that are declared in a regular declaration with a specific type and an identifier that refers to the object. Sometimes they were defined at a different place in the code than they were declared, but even such a definition referred to them with a type and identifier. Another category of objects that we have seen less often is specified with a type but not with an identifier: compound literals, as introduced in subsection 5.6.4.
All such objects, variables or compound literals, ...
Read now
Unlock full access