Re:Enums in Go
by rty32 on Friday July 12, 2024 @06:37AM
(#40944307)
added that every switch/if should handle this exhaustively. For any project with more than a few dozens of files, it is basically impossible to remember all the downstream code that uses the enum -- you have to track it down, or better, let compiler automate check all usages
[ Parent
| on HN ]
There are no comments on this comment yet.