H
Hung Jung Lu
Hi,
Just ran into this article
http://www.mindview.net/Etc/Discussions/CheckedExceptions
And I felt kind of reliefed. When I programmed in Java I always
thought its usage of "checked exceptions" was kind of... silly.
"Checked exceptions" are Non-RuntimeException exceptions, your method
declaration must specify them, and also you need to catch them or
otherwise your code won't compile. It's a huge attention distractor
for developers. (Java seems to be loaded with lots of attention
distractors.)
Python and C# actually are quite similar in that they both use
unchecked exceptions, and exception handling in these languages are
nice to use. I just don't know why Java had to embark on the
checked-exception experiment.
Hung Jung
Just ran into this article
http://www.mindview.net/Etc/Discussions/CheckedExceptions
And I felt kind of reliefed. When I programmed in Java I always
thought its usage of "checked exceptions" was kind of... silly.
"Checked exceptions" are Non-RuntimeException exceptions, your method
declaration must specify them, and also you need to catch them or
otherwise your code won't compile. It's a huge attention distractor
for developers. (Java seems to be loaded with lots of attention
distractors.)
Python and C# actually are quite similar in that they both use
unchecked exceptions, and exception handling in these languages are
nice to use. I just don't know why Java had to embark on the
checked-exception experiment.
Hung Jung