Re: [go-nuts] Declaration of interfaces

2018-12-17 Thread Victor Giordano
ahh so, there is nothing more to talk about, thanks for pointing that out. Maybe in another time discuss if the concept interface of typescript is kind of barrier-breaker as it includes fields as possible member declarations, but in another time and place :D El lun., 17 dic. 2018 a las 20:12,

Re: [go-nuts] Declaration of interfaces

2018-12-17 Thread Ian Lance Taylor
On Mon, Dec 17, 2018 at 3:08 PM Victor Giordano wrote: > > This is not legal statement right? > > > var a interface{id int} // let's call it "anonymous interface" > > > if we employ 'interface{}' to refer to empty interfaces it may has sense to > think the above declaration as an "anonymous