Re:What I'd like to see in Go 2.0
by fpoling on Friday February 04, 2022 @06:47PM
(#30215182)
Another possibility is to use boolean flags. Of cause the compiler then will not enforce that only one of the flags is set. On the other hand on few occasions I observed how initial design with disjoint cases evolved into cases that can be set at the same time modeled with flags.
[ Parent
| on HN ]
There are no comments on this comment yet.