Schwern observed:

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.

Fair enough. It's not something I do myself, but I can see that many people might prefer to.



This may be a consequence of the example used

while $n++ then $foo > $bar

which I immediately associated with.

if $n++ then $foo > $bar

Yeah, I can certainly see that.


Perhaps this is yet another argument for insisting on:

while do {$n++; $foo > $bar}

instead.

Because, like you, I sure would like to be able to get rid of those parens around comma'd lists.

Damian



Reply via email to