Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 959164

Pages: 1
badis
Unregistered




interesting and funny
      #9595 - 07/23/04 08:26 AM

because when C# first came out people said it looks like Java but now it sounds like Java is trying to look like C#.
BTW, is there a plan to make the checked exceptions unckecked just like in .NET! Checked exceptions can cause a lot of bugs to go unnoticed with many developers catching them without doing anything inside the catch block.
I've been using Java since its inception and I have recently started working with .NET and I must admit MS had clearly done a neat job. Working with Java now just feels sort of going backward!


Post Extras: Print Post   Remind Me!   Notify Moderator  
Udo Schuermann
Unregistered




Re: interesting and funny [Re: badis]
      #11783 - 09/22/04 09:53 AM

Exceptions are there for a reason. Explicitly ignoring them with empty catch blocks at least requires that the programmer acknowledge that s/he is aware of them and allows a compiler to issue a complaint or warning. Completely turning off checked exceptions disables one of the most critical assurances of software reliability. That's a BAD-BAD thing!

Post Extras: Print Post   Remind Me!   Notify Moderator  
Anonymous
Unregistered




Re: interesting and funny [Re: badis]
      #16366 - 03/17/05 07:26 PM

If you don't want the lazy developers to catch you exceptions because you think they'll just ignore them, then don't throw exceptions. Throw throwables instead. Nobody catches them. They always:

try {...} catch (Exception e) {}

that may catch Exception and RuntimeException, but not a class implementing Throwable without subclasses those two.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 6459

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5