Perhaps naive question about the colon.
Yar Hwee Boon
hboon at motionobj.com
Thu Dec 2 11:05:01 UTC 2004
On Thu, 02 Dec 2004 03:01:55 -0800, Blake <blake at kingdomrpg.com> wrote:
> Is the colon as a signal for a parameter expected necessary? I know it's
> spec'ed, and I can see where in the browser, it's what separates the
> parameters (buildButton:target:label:selector). But from a strict
> parsing standpoint, do the colons tell you anything you couldn't get
> from the context?
>
> Like:
>
> caveman light: fire with: flintAndTinder usingForFuel: twigsAndStraw.
>
> versus:
>
> caveman light fire with flintAndTinder usingForFuel twigsAndStraw.
Well.. at the very least, "caveman light fire with flintAndTinder
usingForFuel twigsAndStraw" is already valid syntax now, its a chain of
simple message sends, no?
--
Regards
HweeBoon
MotionObj
More information about the Squeak-dev
mailing list
|