Exponentiation operator precedence
Bill Frantz
frantz at pwpconsult.com
Tue Aug 25 16:03:14 UTC 2015
On 8/25/15 at 8:11 AM, erights at google.com (Mark S. Miller) wrote:
>any solution at this point will confuse many people. These confusions will
>not result in a confusing static rejection but in runtime behavior that
>*sometimes* violates expectations.
It might be worthwhile flagging as errors constructs which cause
frequent confusion. For example, I have been programming in C
and C like languages for over 25 years. I still occasionally
shoot myself in the foot combining bitwise logical operations
and equality tests. If the language forced me to put int
parenthesis, I would have been caught at compile time. While I
try to put them in as a mater of good programming style,
sometimes I forget.
However, there are probably legacy issues.
Cheers - Bill
---------------------------------------------------------------------------
Bill Frantz | If you want total security, go to prison.
There you're
408-356-8506 | fed, clothed, given medical care and so on.
The only
www.pwpconsult.com | thing lacking is freedom. - Dwight D. Eisenhower
More information about the es-discuss
mailing list