3 ms·
There's some tooling out there: "NilAway: Practical nil panic detection for Go" https://news.ycombinator.com/item?id=38300425 https://news.ycombinator.com/item?
by Mawr 3y ago
There's some tooling out there: "NilAway: Practical nil panic detection for Go" https://news.ycombinator.com/item?id=38300425 https://news.ycombinator.com/item?id=38300425
- segfaltnh 3y agoHave you had practical success with this? It seems every discussion about Go error handling someone posts this but in all our projects it's riddled with false positives. I'm not convinced it's practically useful, though it is academically interesting.
- Mawr 3y agoNo, just a few false positives. I don't have issues with null in my projects in the first place though.