Re: multi-line expressions (was Python had a little lambda ...)

Rafael Bracho (rxb@lion.Eng.Sun.COM)
Thu, 24 Feb 1994 14:31:47 +0800

> Date: Thu, 24 Feb 94 14:08:17 EST
> From: Chris Hoffmann <choffman@vicorp.com>

> As I mentioned last time, when I show people Python they almost
> immediately complain about using indentation for nesting. I can only
> think of one or two people who didn't object to it. They may get to
> like it in time, but such a uniformly negative reaction may keep
> potential users from trying the language at all, slowing down its rate
> of acceptance.

Although I like the indentation-as-block-identifier idea, and I find
the resulting code elegant, I've also encountered resistance to that
feature of Python. Yes, perhaps after trying Python for a while people
would end up liking indentation, but they may never agree to try Python
because of that feature ...

IMHO, it would be a mistake to turn indentation into the cornerstone
of the language and hinge its success on it. It's important to listen
to customers, in this case developers, and concede that perhaps adding
symbols to bracket blocks is "what the market wants."

Unlike Chris, however, I vote for curly braces, a la C, instead of
begin-end keywords, a la Pascal.

-Rafael