+1 for gobyexample that is my favorite resource, especially once you have broken ground, and are somewhere in-between having all the basics of the syntax mostly mastered, but some of the tidbits of the standard library not yet mastered.
> Would love to see one day examples of doing something in PHP/Python and then how to do it in Golang.
Do you got some specific examples you want to see?
For some usecases i don`t know if this would make sense to port in 1 by 1 from PHP to Golang (because of lack of features on both sides).
But maybe you can name some pieces of code / examples.
Contributing to existing project is one more way to learn Golang. Perfect if you have some exotic needs which are not covered in existing golang libraries.
I learned from John Graham-Cumming's O'Reilly video series. When I reviewed some of the Go books, I was frustrated by code samples with so many "we'll get to this later" parts. John's videos had a good pace, thoroughly explained concepts, and prepared me to write real code. The only downside was that they were expensive - if you are able to expense them, I highly recommend the videos.
I'll give a +1 to Go in Action (Manning)[1]; the MEAP has improved quite a bit over the last couple of months, particularly with the rewrite of the chapter about types.
One can also peruse the Camlistore source code at http://camlistore.org. It was a project started by Brad Fitzpatrick, the guy famous for owning Nest Protect smoke alarms. ;)
22 comments
[ 4.4 ms ] story [ 52.8 ms ] threadWould love to see one day examples of doing something in PHP/Python and then how to do it in Golang.
Ultimately, I see myself dropping PHP in favour of Golang for my front-end stuff and continuing with HHVM/PHP for my backend development.
My daemons on servers are currently running in Python and do see them ported over to Golang in the future.
So +1 from me.
Do you got some specific examples you want to see? For some usecases i don`t know if this would make sense to port in 1 by 1 from PHP to Golang (because of lack of features on both sides). But maybe you can name some pieces of code / examples.
Contributing to existing project is one more way to learn Golang. Perfect if you have some exotic needs which are not covered in existing golang libraries.
http://openmymind.net/The-Little-Go-Book/
Short and also freely available.
Really enjoying it thus far!
[1] http://manning.com/ketelsen/
I hope it will help some of you :)
This site helped me tremendously. I still reference it all the time when I'm uncertain about something.
http://www.miek.nl/downloads/Go/Learning-Go-latest.pdf