|
|
|
|
|
by adeon
439 days ago
|
|
I got a question about the example shown, the goroutine one marked as #63, I'd copypaste but it's an image. Is there a reason the common mistake is about goroutines specifically? If I instead just made function closures without launching off goroutines, would they all refer to the same 'i' variable? (I assume it's maybe just that the mistake tends to go hand in hand with goroutine-launching code in a pattern like that). I'd presume the book would say right after the example :) But otherwise: the author gets serious respect from me for going through that process, taking feedback and learning how to communicate, i.e. taking "how do I make a good book?" very seriously and trying their best. And also things like for putting their foot down when the problematic copyeditor. I'm almost interested in the book, not for learning about Go but learning about what it looks like when I know the writing has some serious intent behind it to communicate clearly. |
|
Thank you very much for your comment, though. It means a lot.