DIP65: Fixing Exception Handling Syntax

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 17 02:40:19 PDT 2014


Walter Bright:

> Breaks existing, working code for little gain. I suggested a 
> fix that deals with the issue and does not break existing code.

This is not yet convincing. Let's talk about the "Pokemon 
Exception Handling", for when you just Gotta Catch 'Em All :-) I 
think the D/Python code that uses this pattern is 
dangerous/smelly; so you are not breaking valid code, you are 
forbidding a coding pattern that in 99.5% cases good D code 
should not contain.

Bye,
bearophile


More information about the Digitalmars-d mailing list