Re:Gopher Wrangling. Effective error handling in Go
by mirekrusin on Tuesday June 20, 2023 @12:52AM
(#36399869)
You can shoot yourself in the foot with null pointers.
[ Parent
| on HN ]
Re:Gopher Wrangling. Effective error handling in Go
by konart on Tuesday June 20, 2023 @12:55AM
(#36399885)
You can find a gun to shoot yourself in the foot in any language.
Re:Gopher Wrangling. Effective error handling in Go
by mirekrusin on Tuesday June 20, 2023 @01:15AM
(#36400009)
Well, it's million dollar one though. It has been solved in many languages. It gives quite uneasy feeling that high percentage of your LoCs can be potentially affected, it doesn't come from some contrived edge case code, it's everywhere.
Re:Gopher Wrangling. Effective error handling in Go
by saghm on Tuesday June 20, 2023 @01:07AM
(#36399957)
> It is hard to shoot yourself in the foot.
>> You can find a gun to shoot yourself in the foot in any language.
Sure, but finding that one isn't particularly hard, which is what GP was responding to