Re: Java 7 features



On Jul 31, 8:14 pm, Wojtek <nowh...@xxxxx> wrote:
Twisted wrote :



On Jul 31, 4:35 pm, Martin Gregorie <mar...@xxxxxxxxxxxxxxxxxxx>
wrote:
Arne Vajhøj wrote:
~kurt wrote:
Arne Vajhøj <a...@xxxxxxxxxx> wrote:
It is much more common to have a modulus operator than a
power operator.

C, and its "descendants" are the only languages I have used that
didn't have
one.

C has a rather large family !

:-)

Pascal does not have a power operator either.

Nor does COBOL, which is odd considering its useful for compound
interest calculations.

That's the same language whose two-digit-year date type was
responsible for ~70% of Y2K bugs, so you may be expecting a bit too
much of it here. :)

Not really.

Oh, for Christ's sake, is there *always* a nitpicker waiting in the
wings??!

COBOL can handle 4 digit years.

Obviously*. It just didn't do so by default. :P

* Since it's Turing complete, though that may surprise some. Of
course, Brain*** is also Turing complete, and so is INTERCAL,
nevermind perl and Befunge, so it really shouldn't.


.


Loading