When is it OK to panic in Go?

by psxuawon 4/1/2025, 11:34 PMwith 1 comments

by commandersakion 4/2/2025, 6:47 AM

GoAWK uses panic & recover to simplify error handling in the recursive descent parser: https://github.com/benhoyt/goawk/blob/master/parser/parser.g...