3 ms·
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 goo
by umvi 4mo 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#.
- jchw 4mo agoThis does exist, actually. https://github.com/uber-go/nilaway https://github.com/uber-go/nilaway