On Thu, May 29, 2014 at 7:10 PM, Oleg Eterevsky <[email protected]> wrote: > The projects in C++ that forbid exceptions are doing so not because of > some prejudice, but because exceptions in C++ are unsafe. In Java > standard library exceptions are ubiquitous.
If you mean checked exceptions, I hear that they're quite unpopular, although I don't use Java. Since browsers were brought up, here is the Google C++ style guide on exceptions: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Exceptions It bans them due to a variety of downsides which would only be partially addressed by checked-exception-like safety systems. I think Google Java code does use exceptions, but that's language culture for you. As a related data point, Go eschews exceptions entirely due to prejudice: http://golang.org/doc/faq#exceptions Not that I agree with most of Go's design decisions... still, I think these examples are enough to demonstrate that there are legitimate reasons to prefer a language designed without exceptions. I think it may be good for you to get more experience with Rust, although as I mentioned, I also lack experience. _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
