Re:What I'd like to see in Go 2.0
by farresito on Friday February 04, 2022 @04:39PM
(#30213669)
As someone that doesn't work in that domain, could you give a short example?
[ Parent
| on HN ]
Re:What I'd like to see in Go 2.0
by closeparen on Friday February 04, 2022 @08:06PM
(#30215915)
You push Thrift clients out into the world expecting to a certain API field to be typed according to a 3-element enum. You add a 4th element to support a new feature in a new client. If you ever accidentally serve this 4th element to an old client, it will crash on deserialization. Bonus points if the client is old enough that it's not part of your testing regime anymore.