Community Page
- www.brodwall.com/johannes/blog/ Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- The evolution of SOA Introduce the concepts of services and SOA Design principles of SOA ... The benefits of employing SOA Review of common business goals ... Related articles. Web Application...
- Great article and I agree with you that ............ Thanks for the tips!
- Great read, good work old chap :)
- Hi...Your post really got me thinking man..... an intelligent piece ,I must say.
- Was a good read. thank great post, I think this article is useful. I'll be back for more. Thanks for sharing the information . .. :)
Jump to original thread »
Java.net’s latest poll asks: should checked exceptions be removed from the Java language. Sadly, the poll is not going the way it should right now. Many people feel checked exceptions are key to reliable programming. They are wrong. Please: Read this post, and help improve the Ja
... Continue reading »
2 years ago
2 years ago
Checked exceptions = one of the more annoying java quirks after I got back into other languages on a daily basis. "Why do I have to deal with this crap?"
2 years ago
2 years ago
2 years ago
Thanks for the comment and for the kind words. I take it that you have a different experience? I understand from your blog that you also program .NET Maybe you have a good story on what kind of problems you run into that would've been avoided with checked exceptions?
2 years ago
2 years ago
Also, to my experience, when repeatedly faced with the annoying "catch or throw"-complains from the compiler, most developers tend to find the quickest device to make those annoyances go away, such as an empty catch-block (ugh) or just use a throws declaration.
Speaking about throws declarations - you can choose whether to make them specific or general. Specific will tend to be implementation dependent, which is problematic for loosely coupled, interface-based architectures (as discussed here http://radio.weblogs.com/0122027/stories/2003/0...). It also raises versioning and compability issues.
General throws declarations (like throws Exception) just defeats the concept. That's like implicit anyway if they were unchecked in the first place.
Most definitely a vote from me!
2 years ago
It seems that one of the major problems that the java-community is facing, is that devlopers tend to argue in favor of something that seems to be good in theory but that doesn't necessarily work in practice. We need to keep this in mind, and we need write code and read code to actually understand this.