Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: