Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This paper served as a great introduction to Go programming for me. I've been trying to work through my own basic program in Go for the past few weeks and their overview of the language features used cleared up a lot of loose ends for me.


Having the same algorithm implemented in several other languages helps, too. It enables you to look at the implementation in the language you're most comfortable with, then look at one of the other implementations and think "Oh, so that's how that's done in this language."


http://shootout.alioth.debian.org/

Although you shouldn't necessarily think "Oh, so that's how that's done in this language."


Keep in mind, though, that the Go code shown there is not a good example of how idiomatic Go is written.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: