News for hackers. Stuff that matters.
Re:Ask HN: What do you like/dislike about Golang? by cratermoon on Saturday November 26, 2022 @07:39PM (#33758712)
I worked with one team who deliberately chose pointer receivers for everything. Their reasoning? The compiler can't know if the receiver for the call you are making will be nil at run time, so it doesn't complain.

Yes, they literally chose to subject themselves to runtime panics to silence the compiler.

There are no comments on this comment yet.