3 ms·
Depending on the language yes, or probably, or definitely not. A class is one of several ways to represent a type. Some languages have structural type represent
by eyelidlessness 4y ago
Depending on the language yes, or probably, or definitely not. A class is one of several ways to represent a type. Some languages have structural type representations and a class/instance is equivalent to a “plain old ___ object”; some languages have types but no notion of classes at all.
- bjourne 4y agoSure but the requirements given by the author are exactly represented by, for example, Java's class system. So why is the author dreaming about something that has existed for 20+ years?