News for hackers. Stuff that matters.
Re:The Year of C++ Successor Languages by josefx on Monday January 02, 2023 @01:35PM (#34221730)
> With unchecked exceptions, it's impossible to statically check that this is the case

Aren't checked exceptions just a hint to the programmer?

Also I don't see why static analyzers shouldn't be able to map out which functions throw which exceptions without having hints in the language itself, the information is in the code.

Lastly if the goal is as simple as catch all exceptions, can't you just enforce a catch all on the top level?

There are no comments on this comment yet.