Re:The Year of C++ Successor Languages
by kllrnohj on Monday January 02, 2023 @12:01PM
(#34220259)
Can you point to an example? What has "signaled exceptions"?
[ Parent
| on HN ]
Re:The Year of C++ Successor Languages
by masklinn on Saturday January 07, 2023 @06:06AM
(#34287042)
> Can you point to an example?
Rust, Swift, Erlang, Haskell, ...
> What has "signaled exceptions"?
Java.
It's not clear what you're asking.
My comment noted that signalling the possibility of errors to caller (in general) is valuable.
jcelerier objected with java's checked exceptions as a counter-example, as they signal to the caller, but they're shit.
However that's not a counter example, that's just java's checked exceptions being a shitty implementation of the idea.