3 ms·
> Classes just become a design pattern You haven't really got rid of classes though, you've just moved them from being explicit (something the language itself
by skissane 4y ago
> Classes just become a design pattern
You haven't really got rid of classes though, you've just moved them from being explicit (something the language itself knows about) to implicit (something the developer keeps in their head). You still have some objects which play the role of "classes" (they are used as prototypes for other objects) and others which play the role of "instances" (no other object will use them as a prototype).
How much of an improvement is there really if the concept still exists, but the language itself is ignorant of it?