News for hackers. Stuff that matters.
Re:Gunk: Modern front end and syntax for Protocol Buffers by LOLOLOLO1 on Saturday January 19, 2019 @05:25PM (#18949592)
"oneof" construction is here for two reasons:

1. It enhances readability 2. It would be a surprise to you: oneof actually enhances type safety. It is just lacking type system of Go where you cannot express the feature and thus loses type safety.

There are no comments on this comment yet.