News for hackers. Stuff that matters.
Re:Statically-typed error handling in Python using Mypy by joshuamorton on Sunday December 08, 2019 @09:30PM (#21739967)
Wait but you can do that pattern in any language (java or cpp, both of which are static, and one which is unmanaged).
Re:Statically-typed error handling in Python using Mypy by viraptor on Monday December 09, 2019 @01:08AM (#21740727)
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.