72 ms·
If anything, nil checking in Go makes it quite exciting (will I get a nil pointer error somewhere? Who knows!). Sum types would make this quite boring though.
by dorian-graph 6y ago
If anything, nil checking in Go makes it quite exciting (will I get a nil pointer error somewhere? Who knows!). Sum types would make this quite boring though.
- masklinn 6y ago> If anything, nil checking in Go makes it quite exciting (will I get a nil pointer error somewhere? Who knows!). The most exciting part is finding that something is not nil but is actually nil. Great surprise, thanks typed nils!
- erik_seaberg 6y agoIt's the only language I've ever seen that tries to dispatch on what type of object you don't have. Very zen.