Monday, September 07, 2009

No Power Operator in C#...

There is no power operator in C#.

What the...

This is the reasoning:
It would be possible to add a power operator to the language, but performing this operation is a fairly rare thing to do in most programs, and it doesn't seem justified to add an operator when calling Math.Pow() is simple.
Huh? A "rare thing to do"... as compared to the bit shifting operators for example? If this question is in the FAQ, surely it deserves a place in the language.

Ridiculous. Brain Dead. Stupid. Utterly Stupid.

No comments:

Popular Posts