|
|
| XP is just a number | |
| PerlMonks |
Re^2: Perl vs Cby Marshall (Canon) |
| on Mar 14, 2009 at 15:15 UTC ( [id://750629]=note: print w/replies, xml ) | Need Help?? |
|
I looked at this other post. re: C k = i++ + i++; That is "weird looking". I recommend a more clear statement of intent! x = i++; /*maybe*/ k = x + x; /*maybe ???? */ I am not sure what the precedence rules are with 3 +++ in row. I recommend that you use a couple of statements to make this more clear.
BTW: In Perl, sub x (--$i, $i++) behavior is also undefined.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||