<p>I'm a developer with more than 15 years experience, fairly efficient in C, C++, Java, Perl, Python, and played around with a couple of others. Looking to pick up Go. </p>
<p>I specifically would like a short book that won't get into what a loop is, what OOP is, or how a garbage collector works. Rather, something in the style "here's the syntax, here are the tools, and that's the Go-ish way of writing things."</p>
<p>I remember to like "Dive into Python" very much when I was learning Python.</p>
<p>Thanks!</p>
<hr/>**评论:**<br/><br/>kaeshiwaza: <pre><p>"The Go programming Language" from Kernighan and Donovan is what you need.</p></pre>callcifer: <pre><p><a href="http://www.amazon.com/Programming-Language-Addison-Wesley-Professional-Computing/dp/0134190440/" rel="nofollow">Link</a> to said book.</p></pre>Injunire: <pre><p>This is a great book, I've been working through it over the past month and have learned a ton.</p></pre>dominotw: <pre><p>This book is really boring. Who want to read through boring babble about one feature after another. This book is nothing like the 'The C programming language' , totally misleading book title.</p>
<p>Just read <a href="https://golang.org/doc/effective_go.html" rel="nofollow">effective go</a> and fill in the holes in your knowledge as you go.</p></pre>lkjhgfds2: <pre><p>No need for a book for that sort of thing.</p>
<p>Do the <a href="https://tour.golang.org/welcome/1" rel="nofollow">tour</a>, and read <a href="https://golang.org/doc/code.html" rel="nofollow">How to Write Go Code</a>, then read <a href="https://golang.org/doc/effective_go.html" rel="nofollow">Effective Go</a>.</p></pre>nyoungman: <pre><p>Effective Go and the <a href="https://golang.org/ref/spec" rel="nofollow">Language Spec</a> are great resources.</p>
<p><a href="http://www.gopl.io/" rel="nofollow">The Go Programming Language</a> by K&D and <a href="http://goinactionbook.com/" rel="nofollow">Go In Action</a> are the two most recently published books for the working developer picking up Go.</p>
<p>If you like, you can also follow Gopher Book on Twitter where I mention new books as I hear about them.
<a href="https://twitter.com/gopherbook" rel="nofollow">https://twitter.com/gopherbook</a></p></pre>weberc2: <pre><p>I think I picked up Go in a couple hours, mostly via the <a href="https://tour.golang.org/welcome/1" rel="nofollow">tour</a>. A book seems like overkill and then some.</p></pre>kromem: <pre><p>You actually will want something that delves into OOP in Go. </p>
<p>Go is actually quite different in how you abstract code than most other OOP languages I've worked with. The two big points are that there is no inheritance and that interfaces are automatically satisfied as long as the object has the appropriate methods. </p>
<p>These two differences will be a huge pain when you start working in Go, but once you adjust to it, you'll wish other languages were the same. Go is more than syntax - there are major philosophical differences as well. (Not as extreme as, say, a functional programming language vs object language, but significant nonetheless). </p>
<p>"The Go Programming Language" is your most comprehensive bet. Also, take some time to read over the standard library when you understand the principles to see some best practices in action. </p></pre>nyoungman: <pre><p>This is a very important point. Also key is that methods can be attached to any (user-defined) type, not just structures. That includes integers, strings, even maps and arrays.</p>
<p>Go isn't like languages that provide every feature of existing languages. It's a minimal language in the style of C. To enjoy Go, it's necessary to throw out preconceptions of "how it's done".</p>
<p>For anyone wanting a taste of OOP in Go, I wrote an article three years ago, but I believe it's still relevant:
<a href="https://nathany.com/good/" rel="nofollow">https://nathany.com/good/</a></p></pre>RevMen: <pre><p>I just started digging into Go a couple of weeks ago, so I'm in a similar situation.</p>
<p>I think <a href="http://openmymind.net/The-Little-Go-Book/" rel="nofollow">The Little Go Book</a> is the kind of thing you're asking about, and I found it helpful.</p>
<p>I picked up quite a bit by watching some videos.</p>
<p>The 53-minute <a href="https://youtu.be/CF9S4QZuV30" rel="nofollow">Go Programming</a> by Derek Banas is a really good way to go over all of the important parts of the language. He moves at a speed that is appropriate for a developer with experience in other languages.</p>
<p>I also got a lot out of watching various videos by <a href="https://www.youtube.com/channel/UCElzlyMtkoXaO3kFa5HL0Xw" rel="nofollow">Todd McLeod</a></p></pre>ardanstudios: <pre><p>If you would like a free copy of the Go In Action book, please send me an email and tell me which format you prefer. That goes for anyone.
<a href="mailto:bill@ardanlabs.com" rel="nofollow">bill@ardanlabs.com</a></p></pre>srbufi: <pre><p>Don't think anything like that exists at the moment for Go. The Go Programming Language by Donovan and Kernighan probably has the best examples, though. </p></pre>benjabs: <pre><p>Here is an upcoming Golang book that could help you out: <a href="http://goprogramminglanguage.com/golang-books" rel="nofollow">Simple Golang: Learn By Doing Practical Exercises</a></p></pre>uncreativemynameis: <pre><p>Along with others said, gobyexample.com is good for learning the syntax.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传