Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
coverup
· 6y ago · 0 comments
Fair enough. I would say if the way someone uses the Go "enum pattern" is causing them to have issues with type safety then their code could probably use a refactor, but the point does stand.
Comments
[–]
josephcsible
6y ago
How is it possible to use the Go "enum pattern" without having issues with type safety? It's inherently not type-safe at all.
[–]
coverup
OP
6y ago
By "issues" I mean software defects.