4 ms·
nil dereference isn’t unsafe.
by binary132 2y ago
nil dereference isn’t unsafe.
- imtringued 2y agoIt's undefined behaviour, which is even worse!
- binary132 2y agoNope. Nil deref in Go is checked, and simply panics, just like array access out of bounds.