New to Golang

polaris · · 453 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I&#39;m wanting to learn golang, I haven&#39;t programmed anything in a while. Probably C++ and java 6 years ago. So I was wondering what suggestions you have to learn it better. </p> <p>I would like to try and be hands on with it. I&#39;ve done the tour of go, and read a bunch about it, but I feel like I won&#39;t learn as much until I get in there and actually start trying code. My problem is that I don&#39;t know where to start. I&#39;ve gone through codecademy for other languages and that type of learning is perfect for me. Like that would be a good start. Then if I had some small projects like super basic, I feel like that would help me the most.</p> <p>Any suggestions?</p> <hr/>**评论:**<br/><br/>shovelpost: <pre><p>I suggest to make something based on your interests. It&#39;s difficult to suggest you something without knowing more. Are you leaning towards web applications? Server code? Maybe command line tooling?</p> <p>One idea is to try and make something that automates a common task you do every day. Of course that can be quite hard because if you search there&#39;s probably already code that exists and does what you want. Maybe you can make something smaller and tailored to your needs.</p> <p>Another idea and probably one of the easiest things you can make is a client for a public API. Maybe there&#39;s a site out there that has a public API but no Go client exists. Just make sure that the API is small. If you happen to go with this idea, there&#39;s already a very good client for <a href="https://github.com/google/go-github" rel="nofollow">github</a>, nice and clean codebase which you could use as a guide.</p> <p>In general I&#39;d suggest to try and make something that scratches your own itch to keep it interesting for you.</p></pre>johnson90512: <pre><p>So, I&#39;m learning this for a business. One of the business partners made something in go and we&#39;d like to expand on it and continue to develop it. 1 of us is fluent in it and the other 2 are learning. </p> <p>I like the suggestions. Im so beginner at this but I&#39;ve been used to learning from a class. Like I have 3 or 4 programming text books at the house but nothing for go. I also dont program for my job currently. That&#39;s not to say this wouldn&#39;t be useful for my full time job as well though. </p></pre>shovelpost: <pre><blockquote> <p>So, I&#39;m learning this for a business. One of the business partners made something in go and we&#39;d like to expand on it and continue to develop it. 1 of us is fluent in it and the other 2 are learning.</p> </blockquote> <p>So it seems you already have something to work on. Why don&#39;t you work directly on that and learn on the go? It&#39;s going to be hard no doubt but it will probably be faster. Also if one person is fluent they might also be experienced enough with the project to give you a small piece of work to do based on your current skills.</p></pre>johnson90512: <pre><p>That&#39;s actually a great idea. Thank you!</p></pre>CreativeCoconut: <pre><p>If you just want simple tasks to work through to get familiar with go I would suggest <a href="http://exercism.io/" rel="nofollow">http://exercism.io/</a> </p> <p>I really love their approach </p></pre>thegsg: <pre><p>Thanks for the link, that looks interesting. I&#39;m more of a <a href="https://projecteuler.net/" rel="nofollow">Project Euler</a> guy myself, but I&#39;ll have to check them out, the CLI tool and the included test suite seem great (edit: link)</p></pre>CreativeCoconut: <pre><p>Yeah, the test suite is what actually caught me.</p></pre>

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

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