Re:Kay on the Meaning of "Object-Oriented Programming"
by silentbicycle on Tuesday June 07, 2011 @02:43PM
(#2630356)
Yes. Rather than having a table of methods in a class or prototype, each process has an event loop with a set of messages it can pattern match on.
The rough equivalent of a process changing from one class to another would be tail-calling into a different recieve { (set of pattern-matching expressions) } function. Instead of changing classes, it looks more like a state machine.
The rough equivalent of a process changing from one class to another would be tail-calling into a different recieve { (set of pattern-matching expressions) } function. Instead of changing classes, it looks more like a state machine.