Why exceptions for error handling is so important

Andrej Mitrovic via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 11 05:32:21 PST 2015


On 1/11/15, Dicebot via Digitalmars-d <digitalmars-d at puremagic.com> wrote:
> What is your opinion of approach advertised by various functional
> languages and now also Rust? Where you return error code packed
> with actual data and can't access data without visiting error
> code too, compiler simply won't allow it.

Or a @noignore attribute. Just having that alone could easily catch
the mistake of ignoring a return value. I'm really rooting for this,
but is anyone else on board?


More information about the Digitalmars-d mailing list