On Thu, Oct 21, 2010 at 22:05, Andrea Odetti <andrea.ode...@gmail.com> wrote: > 1) exception: why is it not throwing normal C++ exceptions? I need to > check after most calls if the TryCatch has caught anything
The Google C++ style guide has a list of pros and cons: http://code.google.com/p/google-styleguide/source/browse/trunk/cppguide.xml?r=62#1715 C++ exceptions also have a few non-obvious gotchas, for example: http://www.parashift.com/c++-faq-lite/exceptions.html#faq-17.9 (throwing from destructor) http://www.parashift.com/c++-faq-lite/exceptions.html#faq-17.16 (polymorphic exceptions) Last but not least, not all compilers implement them properly. Even gcc didn't have proper support until some years ago. -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users