Re:New in Go 1.20: wrapping multiple errors
by fcarraldo on Sunday December 11, 2022 @11:52AM
(#33944838)
There is an ISO standard for date formatting. Go ignores it, which makes interop problematic. We do get RFC3339 support, as well as a few others, but if ISO dates are being used in data being read by a Go program it’s a huge headache to ensure it will be correct using the standard library. There’s no real debate here, it was a design mistake and admitted as such.
[ Parent
| on HN ]
Re:New in Go 1.20: wrapping multiple errors
by divan on Sunday December 11, 2022 @04:05PM
(#33947500)
Why inventing things instead of googling them?
Here, why ISO 8601 support was dropped (spoiler: it's an unparsable mess) https://github.com/golang/go/issues/734
Design mistake )))