Why exceptions for error handling is so important

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 12 11:27:24 PST 2015


On Mon, 2015-01-12 at 09:54 -0800, H. S. Teoh via Digitalmars-d wrote:
> 
[…]
> Yeah, exceptions are supposed to be ... well, *exceptions*, rather 
> than the norm. :-) If you're using exceptions to do flow control, 
> you're doing something wrong.
> 
[…]

Unless you are writing Python code.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



More information about the Digitalmars-d mailing list