2 ms·
Haha, nice observation. But not really. The only facet of object orientation is processes communicating with message-passing semantics. Primitive types are not
by sjtgraham 10y ago
Haha, nice observation. But not really. The only facet of object orientation is processes communicating with message-passing semantics. Primitive types are not objects, and processes are not instances of a class for example.
- lobster_johnson 10y agoBut you can get "polymorphism" by spawning different processes that all respond to the same messages. So in that sense the process is the "instance", and the process function is the "class".