Why should I learn Go?

blov · · 357 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<hr/>**评论:**<br/><br/>iopred: <pre><p>Because learning something new is it&#39;s own reward.</p> <p>Seriously though, it&#39;s not our responsibility to convince you to try something, do the Introduction to Go and convince yourself.</p></pre>sin2pifx: <pre><p>I can only tell you why I did it, and it holds for other programming language as well.</p> <p>First, I like (design of) programming languages. It&#39;s interesting to see how the basic elements of computation (a Turing Machine, or rather: Random Access Machine, if you want) are transformed to improve aspects of software engineering. If you have some programming experience, you know that certain constructions work well in one context, but not in another. So, a new language might structure your programming in an entirely new way.</p> <p>Second, I want to rewrite our current software. It&#39;s become incredibly sluggish. C++ and Java could be options, but Java is not a serious one, and C++ is still a bit of a shoot-in-your-foot language if you want the highest performance. If you&#39;re willing to sacrifice a bit of performance anyway, then newer alternatives like Rust and Go come into view. Given my interest in languages, I&#39;ve been learning both (and Swift), and they&#39;re both decent alternatives, but Go is much simpler to write in.</p> <p>Third, even if you forgo the language in the end, you&#39;ll have learned something from it. You might get a new insight in using interfaces for problems where you traditionally used inheritance, or you might have used a library that&#39;s much easier than what you&#39;re accustomed to. The benefits are not hard, but there usually is some.</p></pre>j_d_q: <pre><p>Why are you considering go?</p> <p>This way too open-ended. &#34;convince us that something else is a better option.&#34;</p> <p>Go can be used for low level tasks to high level APIs. It has a solid spec, great standard lib, it&#39;s fast, compiles to native binaries, statically typed, abstracts memory management, it&#39;ll even do your BBQ.</p></pre>dericofilho: <pre><p>Go is a very simple language, the cost of learning it and not using it later shall be pretty small. It&#39;s the kind of language that on mature experienced hands can be learned in one day. </p></pre>dlsniper: <pre><p>One could say because it&#39;s an easy to learn, fast, static typed, compiled language, that feels like a dynamic one and has an awesome community but Go might not be the answer to your problems sometimes. So, like others said, it&#39;s better if you can explain more about what would you be looking to solve after learning Go rather having a very generic question like the current one.</p></pre>snippet2: <pre><p>Great article on why <a href="https://hackernoon.com/why-go-ef8850dc5f3c#.gqw0x9wft" rel="nofollow">https://hackernoon.com/why-go-ef8850dc5f3c#.gqw0x9wft</a></p> <p><a href="https://changelog.com/gotime" rel="nofollow">https://changelog.com/gotime</a> - podcast on go</p> <p><a href="https://gobyexample.com" rel="nofollow">https://gobyexample.com</a> - let&#39;s you run examples</p> <p>Wiki <a href="https://en.m.wikipedia.org/wiki/Go_(programming_language)" rel="nofollow">https://en.m.wikipedia.org/wiki/Go_(programming_language)</a> </p> <p><a href="https://www.jetbrains.com/go/" rel="nofollow">https://www.jetbrains.com/go/</a> - ide for go</p></pre>HelperBot_: <pre><p>Non-Mobile link: <a href="https://en.wikipedia.org/wiki/Go_(programming_language)" rel="nofollow">https://en.wikipedia.org/wiki/Go_(programming_language)</a></p> <hr/> <p><sup>HelperBot</sup> <sup>v1.1</sup> <sup><a href="/r/HelperBot_" rel="nofollow">/r/HelperBot_</a></sup> <sup>I</sup> <sup>am</sup> <sup>a</sup> <sup>bot.</sup> <sup>Please</sup> <sup>message</sup> <sup><a href="/u/swim1929" rel="nofollow">/u/swim1929</a></sup> <sup>with</sup> <sup>any</sup> <sup>feedback</sup> <sup>and/or</sup> <sup>hate.</sup> <sup>Counter:</sup> <sup>20673</sup></p></pre>chmikes: <pre><ul> <li>Why not ?</li> <li>TIOBE called Go language of the year 2016 because of it&#39;s adoption progress. </li> <li>I expect it to be the next C. </li> <li>It&#39;s really easy to learn. </li> <li>If your young it&#39;s a low hanging fruit to add to your CV and your multipurpose knive. </li> </ul> <p>The time it took you to ask the question, wait for answers and read them, you could already have learned go. I learned it in a week-end by reading the online book programming in go. Mastering go tobecome a virtuose takes a little more effort because pertinent free info is scatered in many blog posts. But that&#39;s the same for any language. I haven&#39;t bought a book yet. Any suggestions ?</p></pre>bigpigfoot: <pre><p>because you know you want to be hipster </p></pre>

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

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