News for hackers. Stuff that matters.
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.
Re:Practical nil panic detection for Go by tgv on Saturday November 18, 2023 @12:49PM (#38322216)
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?
Re:Practical nil panic detection for Go by foldr on Saturday November 18, 2023 @01:23PM (#38322684)
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.