New ask Hacker News story: Ask HN: If OOP is about message passing, why not sender.send(receiver, message)?
Ask HN: If OOP is about message passing, why not sender.send(receiver, message)?
2 by revskill | 0 comments on Hacker News.
I learnt that (from Alan Kay), OOP is about message passing, but in most of OOP supported language, the syntax is always receiver.method(message). While i think it should be sender.message(receiver, params) or sender.send(receiver, message, params) Am i missing anything ?
2 by revskill | 0 comments on Hacker News.
I learnt that (from Alan Kay), OOP is about message passing, but in most of OOP supported language, the syntax is always receiver.method(message). While i think it should be sender.message(receiver, params) or sender.send(receiver, message, params) Am i missing anything ?
Comments
Post a Comment