3 ms·
> And it would be far more obvious that an error message is being ignored. Haven't used Go so maybe I'm missing some consideration, but I don't see how ", _" i
by Ukv 11mo ago
> And it would be far more obvious that an error message is being ignored.
Haven't used Go so maybe I'm missing some consideration, but I don't see how ", _" is more obvious than ".unwrap()". If anything it seems less clear, since you need to check/know the function's signature to see that it's an error being ignored (wouldn't be the case for a function like https://pkg.go.dev/math#Modf https://pkg.go.dev/math#Modf).