Tim Bray offers an exceptional tip

In an essay on dynamic languages, Tim Bray ends with an interesting-but-controversial tip for handling Java exceptions that must be declared but can only result in a program shutdown: Catch them and throw a RuntimeException.

Add a Comment

All comments are moderated before publication. These HTML tags are permitted: <p>, <b>, <i>, <a>, and <blockquote>. This site is protected by reCAPTCHA (for which the Google Privacy Policy and Terms of Service apply).