Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wait but you can do that pattern in any language (java or cpp, both of which are static, and one which is unmanaged).


You can't really do it in c++ in the same way. If you mess up you will crash on invalid memory reference. With Java, you'll catch a bad cast or a null ref exception instead.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: