in reply to Re^3: Perl oddities
in thread Perl oddities
If you don't like leaving off the parens, then don't. They are becoming optional, not illegal.
I'm not actually certain that you misunderstood that. I feel a bit like you've talked all around the point but I'm left guessing what your primary point was. But it sure feels like you got the impression that
if( CONDITION ) { CODE }
would no longer be supported in Perl 6.
So if that wasn't your premise, I apologize for not getting your point.
In any case, I suspect that most people won't be dropping the parens much -- based on my impression that most people don't currently drop the optional parens from
STATEMENT if CONDITION;
(like I usually do) and my agreement with you that dropping the former parens will be rather jarring in relation to similar languages (both Perl5 and non-Perl languages).
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Perl oddities ("if" w/o parens)
by Tanktalus (Canon) on Mar 02, 2005 at 00:30 UTC | |
by TimToady (Parson) on Mar 02, 2005 at 01:25 UTC | |
by theguvnor (Chaplain) on Mar 02, 2005 at 03:41 UTC | |
|
Re^5: Perl oddities ("if" w/o parens)
by lidden (Curate) on Mar 01, 2005 at 23:50 UTC | |
by TimToady (Parson) on Mar 02, 2005 at 00:50 UTC |