1推荐信号
1讨论来源
2025-03-05最近提及
为什么 HN 用户提到它?
自动整理的讨论摘录,保留原始英文。阅读原文了解完整语境。
> I also like how golang docs literally describe using panics as poor man's exceptions: And I like how https://github.com/golang/go/issues/26799 https://github.com/golang/go/issues/26799 describes that use of panic in the original version of this bog entry from 2010: quote: However, this is a poor example and a misuse of panic and recover as exceptions.阅读完整讨论