News for hackers. Stuff that matters.
Re:Fourteen Years of Go by mbivert on Saturday November 11, 2023 @09:40AM (#38230654)
> but does not use them as exceptions are used in other languages

IIRC, the Go lexer/parser itself relies on panic/recover to handle errors[0], in an exception-like fashion. Granted, it's one unusual case, where the code is split in a multitude of mutually recursive functions.

[0]: https://github.com/golang/go/blob/master/src/go/parser/parse...

There are no comments on this comment yet.