Checked vs unchecked exceptions
Crayo List via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 29 12:34:22 PDT 2017
On Monday, 26 June 2017 at 15:40:19 UTC, mckoder wrote:
> Here's the point: with checked exceptions good programmers can
> write good code. Without checked exceptions even good
> programmers are forced to write bad code.
This statement is logically equivalent to "good code can only be
written with checked exceptions (presumably using Java), all
other code is bad".
Checked exceptions are a horrible idea because they leak internal
implementation details as part of the signature of a method
directly and in a transitive manner, which of course is one huge
aberration!
More information about the Digitalmars-d
mailing list