News for hackers. Stuff that matters.
Re:Hurl, the Exceptional Language by xboxnolifes on Sunday May 26, 2024 @11:29AM (#40482902)
The unchecked exception example doesn't seem any different than using a dynamically typed language and reading return values, and exceptions seem to get significantly more hate than those.
Re:Hurl, the Exceptional Language by eyelidlessness on Sunday May 26, 2024 @11:32AM (#40482930)
Because even in a dynamically typed language you can generally go look at what the function returns. You can’t look at what it throws without walking the entire call stack and inspecting the source code of the runtime.