Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
When is it OK to panic in Go? (alexedwards.net)
2 points by psxuaw 11 months ago | hide | past | favorite | 1 comment


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: