Re:Uber Go Style Guide
by skybrian on Friday October 11, 2019 @07:49PM
(#21229436)
Ouch. I guess this would be a reason to use strings more, since they're immutable.
[ Parent
| on HN ]
Someone using a string when they really want a byte array/slice would fail review on its face. Excepting external APIs forcing "strings" on us, we only use the Go string type for UTF-8 code unit sequences (and this is a common assumption in the Go world).