nil panics are hard bugs, not stylistic concerns. There is never an occasion where correct code dereferences a nil pointer.
The style point that people are missing here is that every type should have a usable zero value. If (&SomeStruct{}).Method() panics, that's an API design flaw.
The style point that people are missing here is that every type should have a usable zero value. If (&SomeStruct{}).Method() panics, that's an API design flaw.