[Q][Drag&Drop] Event handling, PolygonMorph, line drawing questions
Bob Arning
arning at charm.net
Tue Apr 25 10:53:48 UTC 2000
On Tue, 25 Apr 2000 09:10:16 +0200 Henrik Gedenryd <Henrik.Gedenryd at lucs.lu.se> wrote:
>Stephan Rudlof wrote:
>
>> But in
>> Morph>>privateMoveBy: delta
>> "Private! Use 'position:' instead."
>> ....
>> there is this comment und also it is located in protocol 'private'. It
>> wasn't obvious for me to look for 'private' methods in Morph or
>> elsewhere.
>
>Stephan, there's a good reason--one isn't supposed to use it :)
>
>But I agree with Bob that it is useful and should have a non-private
>counterpart, unless someone has a good reason why not.
It may be useful to make the distinction here between reimplementing a "private" message in a subclass and sending "private" messages from places farther afield. It was the former that happened in this case and this suggests to me much less reason for concern than had it been the latter.
Cheers,
Bob
More information about the Squeak-dev
mailing list
|