On Tue, Nov 25, 2003 at 12:21:13PM +1100, Damian Conway wrote:
> >"then" sounds too much like "if/then" which is confusing.
> 
> Why? "if/then" has never been Perl syntax.

A lot of people read "if (foo) { bar }" as "if foo then bar" in their heads.
I'm one of them.  Its not a previous syntax thing, its a translation to
English thing.

This may be a consequence of the example used

        while $n++ then $foo > $bar

which I immediately associated with.

        if $n++ then $foo > $bar

I didn't say it makes sense, but that's the rather strong association I have.


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/

Reply via email to