News for hackers. Stuff that matters.
Re:Go is boring, and that’s fantastic by nmyk on Thursday July 02, 2020 @10:06AM (#23713208)
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.
Re:Go is boring, and that’s fantastic by josephcsible on Thursday July 02, 2020 @10:09AM (#23713245)
How is it possible to use the Go "enum pattern" without having issues with type safety? It's inherently not type-safe at all.
Re:Go is boring, and that’s fantastic by nmyk on Thursday July 02, 2020 @10:14AM (#23713300)
By "issues" I mean software defects.