Yes, Go Does Have Exceptions
SMRTR summary
Go, a popular programming language, actually does have exceptions in the form of panic/recover, contrary to what many users believe. This feature is used in the Go standard library, particularly in parser code. Even if developers never use recover themselves, code they depend on might utilize it. This misconception highlights a potential issue with Go's marketing and educational resources. Understanding the presence of exceptions is crucial for Go programmers to avoid potential concurrency-related problems and unexpected behavior in their code.
SMRTR provides this summary for quick context. The original article belongs to lobste.rs.
Read the original article