4 ms·
Same in Go, because of panic and recover. For example, "foo.Bar", if foo is a nil pointer, can invisibly branch to an exception handler you installed in the cal
by pcwalton 13y ago
Same in Go, because of panic and recover. For example, "foo.Bar", if foo is a nil pointer, can invisibly branch to an exception handler you installed in the caller's caller's caller.
- JulianMorrison 13y agoCan but idiomatically, usually does not. In most code, that would behave like a segfault with a more helpful crash log.