Y
Hacker News
new
|
ask
|
show
|
jobs
by
umvi
41 days ago
Go needs a good static analyzer to detect potential nil pointer dereferences. That would help identify and eliminate any unnecessary nil checks. .NET has a good one for C#.
1 comments
jchw
41 days ago
This does exist, actually.
https://github.com/uber-go/nilaway
link
https://github.com/uber-go/nilaway