Question on @nothrow
Vasileios Anagnostopoulos via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed May 31 01:18:07 PDT 2017
Hi,
after reading various articles bout the "supposed" drawbacks of
checked exceptions I started to have questions on @nothrow. Why
there exists and not a @throws annotation enforced by the
compiler? I understand that people are divided on checked
exceptions and each side has some valid points. But explicitly
marking a function as throwing "something" is another subject.
Why have the dlang community reached to the decision to use
@nothrow and not a @throws?
More information about the Digitalmars-d-learn
mailing list