News for hackers. Stuff that matters.
Re:Go Subtleties You May Not Know by jerf on Thursday October 23, 2025 @11:59AM (#45683383)
A perfect linter runs into the halting problem, I think, but a pretty-darned-good linter that would catch that methods on your pointer-based method doesn't do "something sensible" with nil would be pretty interesting to me. I think it could help train the community about this issue better than anything else.

I'm full up on tasks, though; even if I were writing a linter for Go that would not currently be my top goal, though it's definitely quite interesting overall.

There are no comments on this comment yet.