[Issue 13543] std.file.FileException has useless __FILE__ and __LINE__ arguments tacked on

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 27 15:47:21 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13543

--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to bearophile_hugs from comment #6)
> A IO exception is meant to be caught by your large serious programs, it's
> never meant to be shown to users.

1. You are trying to use exceptions to debug the program. This is utterly
wrong.

2. Exceptions are meant to provide information to the user of the app, not the
programmer of the app.

--


More information about the Digitalmars-d-bugs mailing list