News for hackers. Stuff that matters.
Re:Go Protobuf: The New Opaque API by mxey on Tuesday December 17, 2024 @10:10AM (#42441949)
Access on an empty slice would also panic because of out of bounds. So there’s no useful distinction there.

However, nil slices work just fine when calling append on them, while writing to a nil map in any way will panic.

There are no comments on this comment yet.