Nathan Youngman (40) [Avatar] Offline
#1
Just read Chapter 1 of v02 of Go in Action.

Content-wise, my main comment is with regards to duck typing. While it doesn't exactly say that Go has duck typing, it might be taken that way (pg 23 atm).

I have it from the commander that Go has structural typing, not duck typing:
https://twitter.com/rob_pike/status/440286670550622210

Nathan.
brian.ketelsen (14) [Avatar] Offline
#2
Re: Duck Typing vs. Structural Typing
i saw that tweet and made a note of it, thanks!
Jacek Laskowski (29) [Avatar] Offline
#3
Re: Duck Typing vs. Structural Typing
Hi,

Will it be explained in the book? I'd appreciate. I don't know the difference and meant it to look it up, but I might not be alone to scratch the head when the two show up with go in the same sentence out there (and in the book at some point).

Jacek