Discussion

Ask HN: If OOP is about message passing, why not sender.send(receiver, message)?

I learnt that (from Alan Kay), OOP is about message passing, but in most of OOP supported language, the syntax is always

receiver.message(params).

While i think it should be

sender.message(receiver, params)

or

sender.send(receiver, message, params)

Am i missing anything ?

29 points revskill 5 years ago 38 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton