3 ms·
> Objects are things that respond to messages (or should be) - to get an object to do something you send it a message - how it does it is totally irrelevant - t
by PopeDotNinja 8y ago
> Objects are things that respond to messages (or should be) - to get an object to do something you send it a message - how it does it is totally irrelevant - think of objects as black boxes, to get them to do something you send them a message, they reply by sending a message back.
The part I love about Elixir is the "objects" don't have to send a message back! There's no need for the sender to sit around waiting for a reply.