Tuesday, March 11, 2003


This is yet another concrete language design decision: Should exception consistency be checked?

Checked exceptions, declared as part of subroutine signatures, are appealing. They make the abstraction interface more readable, and ensure error handling consistency.

However, they introduce coupling into the system, can be seen to break encapsualtion, and can cause a ripple effect of changes during maintenance.

This article weighs the pros and cons.

[Lambda Web Log]

Cites the Eckel article I mentioned a few days ago. This article has a good discussion of layering and exceptions that is worth giving some consideration.
comment []  trackback []  8:36:30 PM