Sunday, April 01, 2007

Next Version Of Java To Allow Division By Zero

I can totally see why Sun would make this change! In this article, Sun has announced they're finally going to get rid of those annoying "divide by zero" exceptions that've been the bane of Java programmers' lives for years!

From the article:

"Hey, we realize they're a complete pain in the ass," a source inside Sun Microsystems said. "Millions of work hours of effort have been wasted over the past decade dealing with them. And really, how do we know that dividing by zero is a problem? Has anyone ever tried it? From now on, Java will just return a really big number, randomly calculated by the VM. That seems like a better solution than having to catch Exceptions all the time!"

Even though it took them until April 1st, 2007 to finally do this, I still say: bravo!

3 comments:

Anonymous said...

Dammit, I actually looked in case Sun actually had changed the doc.

Off to renew my Agile Software Specialist certification....

Kimota94 aka Matt aka AgileMan said...

You just made my day!

C'mon, you knew I had to do something to mark the occasion, didn't you?

GeekMonthly.com has some great April Fool's Day stories this morning, including renaming itself to NerdQuarterly and a big budget Rom: The SpaceKnight movie directed by Michael Bay.

Anonymous said...

For your reading pleasure: a late-1970 interview with the creators of Marvel's undisputed greatest character. Excelsior!