Re:Practical nil panic detection for Go
by insanitybit on Saturday November 18, 2023 @12:43PM
(#38322145)
You can `grep unwrap` for Rust, you need an entire SAT solver for Go.
[ Parent
| on HN ]
What do you think the borrow checker is?
Re:Practical nil panic detection for Go
by insanitybit on Saturday November 18, 2023 @12:52PM
(#38322265)
A completely unrelated construct?
That's almost literally what I just did, but what use is it? No-one is really going to go through all those unwrap calls and check them.
Re:Practical nil panic detection for Go
by insanitybit on Saturday November 18, 2023 @07:04PM
(#38326492)
But... they could. And also, they do? It's not uncommon.
All of those could be checked or irrelevant, I have no idea.