On 8/11/2012 8:02 PM, Marco Leise wrote:
I know that the Java way isn't perfect, because some lazy people write dummy
exception handlers to silence the errors, but its a worse solution to _not_
notify the user of a function, that it potentially throws exceptions, I
think. So I wish D was explicit about thrown Exceptions.



Read this and see if you change your mind:

http://www.mindview.net/Etc/Discussions/CheckedExceptions/

Anyhow, that article is why D does not have exception specifications. Also, please note that C++ dropped exception specifications.

Reply via email to