Re: multi-line expressions

Steven D. Majewski (sdm7g@elvis.med.virginia.edu)
Fri, 25 Feb 1994 00:27:55 -0500

On Feb 24, 16:47, Bill Janssen wrote (quoting several other's opinions):
>
> > > But my vote would be for { and } since *visually* they are much easier to
> > > parse than begin and end and it is intuitively obvious as to what they do.
>
> > Call me C-centric, but I concurr.
>
> Put me down for "(begin" and ")". :-)
>

How about ":(" and ")." ?
With the "frowning Guido"(*) icon [ ":(" ] replacing the ":" in that case:

for x in seq :( if x > 0 : y = f(x) ; else: y = g(x) ; print y ).

Actually, although I like the looks of the above better,
Maybe ":<" and ">;" would be more unique, since the
tokens combinations ":(" , ").", ");", ":{", "}." & "};"
can all occur in some other context.

(*) Perhaps, representing how he feels about the whole matter? ;-)

- Steve Majewski (804-982-0831) <sdm7g@Virginia.EDU>
- UVA Department of Molecular Physiology and Biological Physics