<p>Good intermediate programmer project or tutorial? for golang</p>
<hr/>**评论:**<br/><br/>nwss00: <pre><p>When I interviewed for a mid-level level Go Engineer role, the hiring manager gave me the following as a test. A mid-level should complete the following in one day to two days.</p>
<p>I need an online address book exposed as a REST API. The data includes the following fields: First Name, Last Name, Email, Telephone Number.</p>
<p>The API should have the standard REST semantics to 1) retrieve all entries, 2) retrieve one particular entry, 3) add an entry, 4) update an existing entry, 5) delete an existing entry.</p>
<p>The Address Book should have typical Go tests that demonstrate how to exercise all operations of this service.</p>
<p>Finally, this service should have endpoints that can import and export the address book data in a CSV format.</p>
<p>If the API depends on an external database or other service, provide a thorough README file on how to configure such settings.</p>
<p>Good luck! Hope this project will push your skills to the limit!</p></pre>danredux: <pre><p>I don't believe this is a good test or practice for Go, as there are relatively few Go concepts here.</p>
<p>Good practice projects would include, at least: long-lived Goroutines, inter-goroutine communications, good error handling, maybe a bit of locking, caching, and object re-use.</p></pre>: <pre><p>[deleted]</p></pre>danredux: <pre><p>Sure, which is why I clarified it as not being good "for Go". </p></pre>codemonkey14: <pre><p>It may not be go specific very much, but for someone beyond entry level of programming wanting a toy exercise, this is decent. For someone with experience building basic rest APIs, it's something that can be thrown together in a couple hours and exercise types, struts, web endpoints, error handling, database connections, and unit and integration testing practices using Go (or any other language for that matter). And if it was an exercise for a job interview that was a lot of CRUD style API development, it's a relevant test of knowledge related to the main job responsibilities. </p></pre>Finchlo: <pre><p>Actually quite a good project, have experimented a bit writing non rest API's in python and to be honest it is quite tedious and difficult.</p></pre>wubrgess: <pre><p>I'm not sure that this assignment is much to push any coding capability limits, more so to make sure prospective hires are able to write clear, maintainable code that is well-tested and well-documented.</p></pre>jackmott2: <pre><p>The evolving pictures project I did on my stream a while back I think is a really nice intermediate project. It includes:</p>
<ul>
<li>2D Rendering and mouse/keyboard input with SDL2</li>
<li>Working with trees in interesting ways</li>
<li>Working with interfaces</li>
<li>Genetic Algorithms</li>
<li>Lexing, parsing and interpreting</li>
<li>Abstract syntax trees</li>
<li>cool graphics/math!</li>
</ul>
<p>Starts at 19 minutes into this video:
<a href="https://youtu.be/7YvStSI0FIk?t=19m38s" rel="nofollow">https://youtu.be/7YvStSI0FIk?t=19m38s</a></p>
<p>You will want to do the SDL2 setup as a prereq:
<a href="https://www.youtube.com/watch?v=OXSMx45kayw&list=PLDZujg-VgQlZUy1iCqBbe5faZLMkA3g2x&index=6" rel="nofollow">https://www.youtube.com/watch?v=OXSMx45kayw&list=PLDZujg-VgQlZUy1iCqBbe5faZLMkA3g2x&index=6</a></p>
<p>And we use simplex noise during it, you can roll/grab your own or go through episode 9 and 10:
<a href="https://www.youtube.com/watch?v=C_fbO5GAwXY&list=PLDZujg-VgQlZUy1iCqBbe5faZLMkA3g2x&index=9" rel="nofollow">https://www.youtube.com/watch?v=C_fbO5GAwXY&list=PLDZujg-VgQlZUy1iCqBbe5faZLMkA3g2x&index=9</a></p></pre>Finchlo: <pre><p>Thanks!</p></pre>joncalhoun: <pre><p>May not be challenging enough for you, but they may help - <a href="https://gophercises.com" rel="nofollow">https://gophercises.com</a></p></pre>Finchlo: <pre><p>Thanks!</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传