Re: time / update problem

Cyril ADRIAN <[email protected]> Fri, 15 Jul 2005 08:46:48 +0200
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Message-ID <[email protected]>
Frederic Merizen wrote:

>Maybe they wanted
>
>	x.y.cmd
>
>to behave consistently with
>
>	local_y := x.y
>	local_y.cmd
>  
>
Yes Frederic, you are right. I did not see the expanded thing. That's a
classic gotcha.

Raohael, if you want a correct behavior just add an update feature in
your CC class that performs "never.update". I think that's the one
pattern where the Demeter law is enforced by the language.

Best regards,

-- 
Cyril ADRIAN                                            Vt Sol inter planetas,
[email protected]                      Ita MVSICA inter Artes Liberales
http://www.cadrian.net/~cyril                                  in medio radiat
                                                      -- Heinrich Schütz, 1640