Re:Go is boring, and that’s fantastic
by dorian-graph on Thursday July 02, 2020 @01:15PM
(#23715490)
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.
[ Parent
| on HN ]
> 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!
Re:Go is boring, and that’s fantastic
by erik_seaberg on Thursday July 02, 2020 @05:10PM
(#23718111)
It's the only language I've ever seen that tries to dispatch on what type of object you don't have. Very zen.