3 ms·
Erlang processes are basically objects passing messages to each other. They have state and behavior and communicate via message passing, they are objects.
by gnaritas 13y ago
Erlang processes are basically objects passing messages to each other. They have state and behavior and communicate via message passing, they are objects.
- straws 13y agoI think we're mostly in agreement, @dj-wonk. Objects are about bundling that state and behavior, nothing more. How they're created or instantiated is secondary. It's unnecessary to create classes for functionality when it's unnecessary to create objects for functionality. Here's an eloquent article on that subject: http://me.veekun.com/blog/2013/03/03/the-controller-pattern-is-awful-and-other-oo-heresy/ http://me.veekun.com/blog/2013/03/03/the-controller-pattern-...