Re: [go-nuts] Re: Generics are overrated.

2017-08-05 Thread judsonwilson via golang-nuts
I program using Go every day at Google, and I enjoy the language, but I feel that the lack of generics is a downer. I also find the language to be like Unix in that it is so simple it takes a genius to understand it. On Saturday, July 29, 2017 at 3:59:55 PM UTC-7, Shawn Milochik wrote: > > As w

Re: [go-nuts] "fallthrough statement out of place" in `if` block inside `swicth` block

2017-08-05 Thread judsonwilson via golang-nuts
> > > Maybe `fallthrough` statement cannot be used in `if` block even if it's > put inside `swicth` block) > > True: It may be used only as the final non-empty statement in such a > clause . > > why to make this restriction? One reason is tha