Re: Java 7 features



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. COBOL can handle 4 digit years.

Y2K was caused by really expensive storage costs, where a 5MByte drive was HUGE. I remember things like excess-3 and packed-decimal to store numbers. Oh, and programmers thinking that their creations could not POSSIBLY be still in use after 20 years.

Um, yes, I know you were jesting, but some of the youngsters here may not know that...

--
Wojtek :-)


.



Relevant Pages

  • Re: Java 7 features
    ... power operator. ... interest calculations. ... responsible for ~70% of Y2K bugs, so you may be expecting a bit too ...
    (comp.lang.java.programmer)
  • Re: Java 7 features
    ... interest calculations. ... responsible for ~70% of Y2K bugs, so you may be expecting a bit too ... Since it's Turing complete, ...
    (comp.lang.java.programmer)
  • Re: space come and google ads
    ... Why the sad face? ... Got an AP on order and expecting it in 2013? ... It makes me feel good to have my own calculations of Nibiru's ephemeris ... whether they will be on the Sun side or the dark side when the Earth ...
    (sci.astro.amateur)
  • Re: Please dont take offense...
    ... and the other is faster for some calculations. ... and I agree that top posting is annoying - but you shouldn't hold it against newcomers who haven't been in the newsgroup long enough to hear your soapbox. ... Expecting other posters to understand your opinions when they haven't been given a chance to hear them is unfair, ... I am not on a soapbox. ...
    (microsoft.public.vc.language)
  • Re: Browser identification to websites
    ... I never had those problems with Firefox. ... some web sites don't work ... bugs should be expected. ... You're right about expecting bugs. ...
    (Debian-User)

Loading