News for hackers. Stuff that matters.
Re:Leveraging the Go Type System by corylanou1 on Tuesday February 09, 2021 @11:59AM (#26079775)
You aren't wrong. I think it depends on what your needs are. As well as what the scenarios are.

If you are serializing this data a lot, then having ints vs strings is a significant advantage.

Again, it depends on your use case. If you don't care about serialization size, then I agree, it's extra effort that you may not need.

There are no comments on this comment yet.