punctuation (was Re: Eliminating assignments and variable
syntax (accessors))
Alexander Lazarevic
Alexander at Lazarevic.de
Thu Aug 5 05:19:05 UTC 1999
Patrick Logan writes:
> So let's use "!" instead! What better way to end an imperative?
>
> e.g.
>
> someObject doThisNow!
Shouldn't sending a message to an object be thought of asking for some
service the object may provide?
someObject initialize?
Whether the object has to initialize itself or not is a decision made
by the object.
If someone is used to read english texts, the reader has an adapted
attetion for every character. So although the '.' might be harder to
see than any other character, the reader is used to filter '.' out and
to translate it as a termination sign.
The semantic is also the same, so that I think '.' (and ',') is a good
choice.
Alex.
--
------ Alexander Lazarevic ------------------------------------------------
-- Otto-von-Guericke-Universitaet mailto: Alexander at Lazarevic.de --
-- Computational Visualistics http://www.cs.uni-magdeburg.de/~lazarevi --
More information about the Squeak-dev
mailing list
|