News for hackers. Stuff that matters.
Re:Fourteen Years of Go by usrbinbash on Saturday November 11, 2023 @07:59AM (#38229931)
> To make things worse,

How is a panic crashing a program a bad thing?

Panics are not Exceptions. They usually are the result of something happening that should crash the program.

Re:Fourteen Years of Go by beltsazar on Saturday November 11, 2023 @09:12AM (#38230418)
Yes, "usually", but not always. That's why Go has a mechanism to handle a panic with the `recover` function. The issue is more on the inability of handling a panic in a "foreign" goroutine.