An Introduction to Programming in GoCaleb Doxsey
An Introduction to Programming in Go
by Caleb Doxsey · first published 2012
13mentions
11recommended by
13HN commenters
2012–2018first – last mentioned
85% recommend8% neutral8% critical
Affiliate links. As an Amazon Associate I earn from qualifying purchases.

I really like the structure of this, very readable and a great intro. I have some confusion on http://www.golang-book.com/6 It says: Go also provides a shorter syntax for creating arrays: x := [5]float64{ 98, 93, 77, 82, 83 } We no longer need to specify the type because Go can figure it out. Sometimes arrays like this can get too long to fit on one line, so Go allows you to break it up like
on “Free Book: An Introduction to Programming in Go” ↗> No books. Nothing. No books? Go in Action; Evan Shaw; Manning; http://www.manning.com/shaw/ An Introduction to Programming in Go; Caleb Doxsey; http://www.golang-book.com Network Programming with Go; Jan Newmarch; Free e-book; http://jan.newmarch.name/golang/ Programming in Go: Creating Applications for the 21st Century; Mark Summerfield; Addison-Wesley Professional; http://q
on “Why I think Rust is the "language of the future" for systems programming” ↗Software development related reads with a strong focus on proven practices that enhance software quality in terms of readability and maintainability (and other software ~ilities) to ease the process of changing the software later on. The Art of Readable Code by Dustin Boswell & Trevor Foucher Don't Make Me Think 2ed by Steve Krug Remote: Office not Required by Jason Fried & DHH The Art of Uni
on “Ask HN: What book changed your life in 2013?” ↗I think this chapter is very helpful in answering this question: http://www.golang-book.com/2/index.htm Go's "Hello World" is not quite as complex as java, but a lot more complex than Python, in terms of number of concepts to explain.
on “An Introduction to Programming in Go” ↗I've been reading this e-book: https://www.golang-book.com/books/intro Really enjoying it thus far!
on “Resources to learn Go” ↗A Tour of Go https://tour.golang.org Todd McLeod on YouTube https://www.youtube.com/channel/UCElzlyMtkoXaO3kFa5HL0Xw Go by example https://gobyexample.com/ Go Documentation https://golang.org/doc/ 50 Shades of Go: Common Mistakes for New Devs http://devs.cloudimmunity.com/gotchas-and-common-mistakes-in... Two Free Books http://www.golang-book.com/ Build Web Applications with Go https://githu
on “Ask HN: Learning Go?” ↗For those wanting to learn more Go I recommend this online book: http://www.golang-book.com/
on “Will Go be the new go-to programming language?” ↗There's always the installer at: http://www.golang-book.com/. Sets up the path for you and installs a text editor.
on “Teaching Distributed Systems in Go” ↗You should really make the effort to take a look at it, it's well worth it! If you have a 'c' background it should be relatively easy to pick it up. This should be an easy weekend read http://www.golang-book.com/
on “Tiedot - Your NoSQL document database engine powered by Go” ↗sysadmin here; I've been enjoying An Introduction to Programming in Go by Caleb Doxsey[1]. Short, sweet, and right to the point without being terse. There is nothing in this book that will directly relate to using go as an automation language, but I'd rather learn the fundamentals before learning specialized examples. [1]: http://www.golang-book.com/
on “Go for System Administrators” ↗Here's a few links you might find helpful. They're not specific to Python developers, though. http://www.golang-book.com/ http://www.golangbootcamp.com/book http://talks.golang.org/2012 https://gobyexample.com/
on “Space Monkey dumps Python for Go” ↗I never checked that out but ; https://www.golang-book.com/books/intro/10 looks messy to me. Less messy than callbacks but more messy than async/await imho. Maybe there are nicer examples? Also I agree with the coroutine LUA rationale you can read in the link in this same thread. It appears that with Go I still need to alter my own code to use libraries that are written to run async or am I wrong
on “Callback Hell (2016)” ↗I used Scala, which was running on the JVM. The barrier to entry be it Java or Scala is quite high. I completed the "Introduction to Programming in Go" in under 3 hours and in less than 6 hours I was able to code a full-fledged application. I cannot say/vouch the same for Java or Scala. I would like to have an enterprise-level language inside my company…
on “Web Framework Benchmarks - Round 8” ↗