[Oberon] Message Objects in Oberon
Douglas G. Danforth
danforth at greenwoodfarm.com
Mon Mar 28 08:42:49 CEST 2016
Srinivas,
I think you have put your finger on one of the
(in my opinion) weaknesses of Oberon
(and BlackBox). I do not like those kind of
messages. They seem to be necessary when one
"broadcasts" to many different, say, Views where
the broadcaster doesn't know who will handle the
message. That feels wrong to me, but I don't have
an alternative.
-Doug Danforth
On 3/27/2016 9:45 PM, Srinivas Nayak wrote:
> Dear All,
>
> Oberon OS source code uses Handlers and Message objects extensively.
> We know, they are costly (run time type check),
> unhandled messages consume more time even (sequential check of if else
> ladder),
> compilers can't catch the errors made (inappropriate message sent to
> an object).
> Still how do we consciously decide to use message objects more in
> Oberon (which benefits outweigh all these)?
>
>
>
> With thanks and best regards,
>
> Yours sincerely,
> Srinivas Nayak
>
> Home: http://www.mathmeth.com/sn/
> Blog: http://srinivas-nayak.blogspot.in/
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>
More information about the Oberon
mailing list