Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
joshuamorton
on Dec 9, 2019
|
parent
|
context
|
favorite
| on:
Statically-typed error handling in Python using My...
Wait but you can do that pattern in any language (java or cpp, both of which are static, and one which is unmanaged).
viraptor
on Dec 9, 2019
[–]
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: