logoalt Hacker News

0x696C6961today at 5:37 AM1 replyview on HN

You're painting a picture where people writing Go are constantly drowning in nil pointer panics. This is not reality. You hit them occasionally and they're trivial to understand and fix.


Replies

thaynetoday at 6:13 AM

nil pointer panics aren't nearly as bad as values getting zero initialized, then used in places that assume they were initialized, and getting subtle bugs because the state is inconsistent.