Go book for beginner (and someone new to programming)

agolangf · · 445 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I&#39;m looking for a good book to recommend my friend who wants to learn to program in Go, and has no experience with any other programming languages. Can anyone provide any recommendations? I found: <a href="https://www.golang-book.com/">https://www.golang-book.com/</a></p> <p>But I&#39;m not sure how suited this is for someone with zero programming experience?</p> <hr/>**评论:**<br/><br/>Cmshnrblu: <pre><p>Ive bought a few books and am working through them myself, but honestly look up todd mccloud on udemy or something. He teaches academic level golang and has made a series on intro to golang and goweb. </p> <p>Both have been great supplements to the books i use and in many ways more so since he is great at explaining the &#34;so what&#34; to so many golang nuances.</p></pre>snake_case-kebab-cas: <pre><p>The courses look great:</p> <p><a href="https://www.udemy.com/learn-how-to-code/" rel="nofollow">https://www.udemy.com/learn-how-to-code/</a></p> <p><a href="https://www.udemy.com/go-programming-language/" rel="nofollow">https://www.udemy.com/go-programming-language/</a></p></pre>joncalhoun: <pre><p>I&#39;ve heard great things about both of these, so I def recommend checking them out. Todd does a great job of introducing basic programming techniques with Go in his first course.</p> <p>Todd&#39;s second course - the one covering web development - focuses a lot on the core parts of the <code>net/http</code> library and how to use them. That is, each program you write will be self-contained in one single go file and will focus on teaching one specific thing.</p> <p>While this has a ton of value, I personally prefer to learn how to put all of those pieces together while I am learning about them. The best example of where the former can fall short is when building an authentication system. There are tons of small pieces you need to get right to build a truly secure authentication system, so it is much better to not only learn how each piece works, but to also learn how to put them all together to build the finished product.</p> <p>That&#39;s where my book comes in - Web Development with Go (<a href="https://www.usegolang.com/" rel="nofollow">https://www.usegolang.com/</a>). In it I teach you how to go from a super simple (15 lines of code) web application all the way to a production ready web application deployed on Digital ocean with SSL and everything.</p> <p>Now as a fair warning - it is a fairly long book because of how much material is covered, and because we throw away or change our code <em>a lot</em>. This is done intentionally though, as I wanted to walk you through how you might naturally learn to do web development explaining why every change is made along the way and showing how it all slowly builds towards the final product. The result is that you aren&#39;t ever left wondering, &#34;Why did we write the code this way?&#34; or &#34;Where did that code come from?&#34; becuase they are all small incremental changes that are explained as we make them.</p> <p>If you want to see some samples the first 2 - 2.5hrs of screencasts are available online completely free on youtube - <a href="https://www.youtube.com/playlist?list=PLVEltXlEeWglOJ42pCxf22YVyxkzan3Xg" rel="nofollow">https://www.youtube.com/playlist?list=PLVEltXlEeWglOJ42pCxf22YVyxkzan3Xg</a> It starts on chapter 2 becuase that is where the first piece of code is written in the book.</p> <p>You can also get a free sample of the first few chapters of the book if you prefer text - <a href="https://www.usegolang.com/#sample" rel="nofollow">https://www.usegolang.com/#sample</a></p></pre>Cmshnrblu: <pre><p>Good luck to you. Try to find a publisher, though, as being able to sell on amazon adds huge amounts of credibility and exposure. </p> <p>(Also, shaving 20-30% off your pricing would make what you offer more attractive. )</p> <p>But excellent website and like i said best of luck to you.</p></pre>6425: <pre><p>Plurasight (<a href="http://www.pluralsight.com" rel="nofollow">www.pluralsight.com</a>) is much better. Yes, it&#39;s a subscription model, but the content is much better than udemy. There&#39;s some good Go courses on there, and a trial option to test it out.</p></pre>de_joerg: <pre><p>I also like</p> <p><a href="https://www.manning.com/books/go-in-practice" rel="nofollow">https://www.manning.com/books/go-in-practice</a> <a href="https://www.manning.com/books/go-in-action" rel="nofollow">https://www.manning.com/books/go-in-action</a></p></pre>baijum: <pre><p>If no programming experience, I would suggest spending few weeks with Scratch: <a href="https://scratch.mit.edu/" rel="nofollow">https://scratch.mit.edu/</a></p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

445 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传