top | item 42885778 (no title) powerhugs | 1 year ago It seems like none of the other comments here use or are even aware of `go generate`. Go has excellent code generation features [1].I think parent should be using `stringer` [2] instead.1: https://go.dev/blog/generate2: https://pkg.go.dev/golang.org/x/tools/cmd/stringer discuss order hn newest physicsguy|1 year ago I'm well aware of Stringer but I don't again think it's a good replacement of having enums built in! powerhugs|1 year ago > I don't again think it's a good replacement of having enums built in!I didn't say anything along those lines, in fact I was commenting generally about this issue that you guys and the other commenters mentioned.I was just suggesting a solution to the the problem stated. load replies (1)
physicsguy|1 year ago I'm well aware of Stringer but I don't again think it's a good replacement of having enums built in! powerhugs|1 year ago > I don't again think it's a good replacement of having enums built in!I didn't say anything along those lines, in fact I was commenting generally about this issue that you guys and the other commenters mentioned.I was just suggesting a solution to the the problem stated. load replies (1)
powerhugs|1 year ago > I don't again think it's a good replacement of having enums built in!I didn't say anything along those lines, in fact I was commenting generally about this issue that you guys and the other commenters mentioned.I was just suggesting a solution to the the problem stated. load replies (1)
physicsguy|1 year ago
powerhugs|1 year ago
I didn't say anything along those lines, in fact I was commenting generally about this issue that you guys and the other commenters mentioned.
I was just suggesting a solution to the the problem stated.