On 2/21/12 4:40 AM, Vincent wrote:
On Saturday, 18 February 2012 at 18:52:05 UTC, Andrei Alexandrescu wrote:
From experience I humbly submit that catching by type is most of the
time useless.

Completely disagree. Types allow to control place for "catch". Say, some
deeply nested function catches its own exceptions, while outer function
catches the rest - exceptions higher in hierarchy. But to have benefit
you have to create exceptions hierarchy - this is the main point.

As the next hundreds of messages discuss, matters are not all that simple :o).

Andrei

Reply via email to