3 ms·
Thanks for sharing. Which language(s) did you previously use primarily? How did you learn to program in Go? What resources did you use to "ramp up"? I ask bec
by dpflan 9y ago
Thanks for sharing. Which language(s) did you previously use primarily? How did you learn to program in Go? What resources did you use to "ramp up"? I ask because I am wondering about how to be introduced to such issues early on and learn how to fix them before they become more serious like causing "production downtime" because the response body isn't being completely read and closed.
- idop 9y agoMy first resources were the Go website, specifically the following pages/articles: How to Write go Code [1], Effective Go [2] and Frequently Asked Questions [3]. I also read Alan Donovan and Brian Kerninghan's book "The Go Programming Language" [4]. So mostly these four, and of course simply writing code (along with the standard library documentation [5]). Since then I've also gained a lot of info and insight from various articles and blogs, such as "Debugging Performance Issues in Go Programs" [6] from an Intel blog, various posts from Peter Bourgon's blog [7] and Dave Cheney's blog [8], both of which I highly recommend. Oh, and "The complete guide to Go net/http timeouts" from the Cloudflare blog [9] is also worth reading. Previously I was mostly a Perl developer, but I also work(ed) a lot with JavaScript, and to a (much) less extent with Haskell, Racket and Nim. [1] https://golang.org/doc/code.html https://golang.org/doc/code.html [2] https://golang.org/doc/effective_go.html https://golang.org/doc/effective_go.html [3] https://golang.org/doc/faq https://golang.org/doc/faq [4] http://www.gopl.io/ http://www.gopl.io/ [5] https://golang.org/pkg/ https://golang.org/pkg/ [6] https://software.intel.com/en-us/blogs/2014/05/10/debugging-performance-issues-in-go-programs https://software.intel.com/en-us/blogs/2014/05/10/debugging-... [7] https://peter.bourgon.org/articles/ https://peter.bourgon.org/articles/ [8] https://dave.cheney.net/ https://dave.cheney.net/ [9] https://blog.cloudflare.com/the-complete-guide-to-golang-net-http-timeouts/ https://blog.cloudflare.com/the-complete-guide-to-golang-net...