Re: [go-nuts] Re: Iota with string constants

2017-10-16 Thread Inanc Gumus
Thx. Btw, I don't know about any inlining help from the Go compiler when you use iota or a string inside constants. On Mon, Oct 16, 2017 at 6:16 PM, Diego Medina wrote: > If it is something like weekdays (very few options), I don't see any > issues with it. Stringer is great when as you go along

Re: [go-nuts] Re: Iota with string constants

2017-10-16 Thread Diego Medina
If it is something like weekdays (very few options), I don't see any issues with it. Stringer is great when as you go along using your app, you may need to add more values over time. using iota and stringer is great when your list may be 15 or more items, and keeping them updated becomes a chor