Re: [go-nuts] [proposal] Make go compiler work with different syntax versions in same project to support adaptivity

2020-08-10 Thread Ivan Ivanyuk
Ok, thanks for the clarification. On Mon, Aug 10, 2020 at 9:38 PM Ian Lance Taylor wrote: > On Mon, Aug 10, 2020 at 1:30 AM Ivan Ivanyuk > wrote: > > > > Thank you for answering > > > > Why does it take so long to implement generics then? There is already

Re: [go-nuts] [proposal] Make go compiler work with different syntax versions in same project to support adaptivity

2020-08-10 Thread Ivan Ivanyuk
Thank you for answering Why does it take so long to implement generics then? There is already an instrument in playground that works fine. Why not just roll it out and improve design, if needed, in next version? Having generics in 2021 means many projects will choose other languages in 2020,

[go-nuts] Re: [generics] Zero value

2020-06-19 Thread Ivan Ivanyuk
What about something like int.CreateZeroValue(), or T.CreateZeroValue() and CreateZeroValueInterface? On Thursday, June 18, 2020 at 7:34:55 PM UTC+3, bruno...@gmail.com wrote: > > First, congratulations on the working compiler! Very cool to try out > generics in Go. > > I was experimenting