New Book: An Introduction to Programming in Go

1,035 views
Skip to first unread message

Caleb Doxsey

unread,
Sep 3, 2012, 11:08:57 PM9/3/12
to golan...@googlegroups.com
I just released the (free) online version of a book I've been working on:


It's a short introductory text on programming using Go.

Maxim Boyarskiy

unread,
Sep 4, 2012, 4:29:21 AM9/4/12
to golan...@googlegroups.com
A nice TOC.
Thank you for your work.

p.s. there are bad formating like
import ("net/http" ; "io")from time to time.

вторник, 4 сентября 2012 г., 10:08:57 UTC+7 пользователь Caleb Doxsey написал:

Paul

unread,
Sep 4, 2012, 5:41:55 AM9/4/12
to golan...@googlegroups.com
Very nice book, however I don't use Windows and I don't even know what OSX is although it kinda looks like  Unix to me. A reference to the playground and golang.org would have been helpful for folks who would like to play around with it a bit without the install. 

Thanks.

Michael Jones

unread,
Sep 4, 2012, 2:54:11 PM9/4/12
to Paul, golan...@googlegroups.com
Paul, not sure where you are that OS X is unknown and unable to be
searched for using Google or referenced in WikiPedia
(http://en.wikipedia.org/wiki/OS_X) , but if this mail can
successfully reach you there then know that OS X is the name for
Apple's amalgam of Mach, OpenBSD, FreeBSD, GNU, and home-grown tools.
To quote from WikiPedia, "As of September 2011, OS X is the second
most active general-purpose client operating system in use on the
World Wide Web, after Microsoft Windows, with an 8.45% usage share
according to statistics compiled by W3Counter.[36] It is the most
successful Unix-like desktop operating system on the web, estimated at
over 5 times the usage of Linux (which has 1.5%)."

It is great that Go has made it all the way to wherever you are.
--
Michael T. Jones | Chief Technology Advocate | m...@google.com | +1
650-335-5765

Paul

unread,
Sep 4, 2012, 4:20:29 PM9/4/12
to golan...@googlegroups.com, Paul

<< Paul, not sure where you are that OS X is unknown ...>>


I guess I must be more of a Server & command-line guy and I am very happy using Ubuntu LTS, which incidently is also very well supported for Go development :-)

However, whats really an Interesting coincidence: just today I came across this Article on Groklaw.net: http://www.zdnet.com/the-truth-about-goobuntu-googles-in-house-desktop-ubuntu-linux-7000003462/For the first time, Google reveals some details about its desktop of choice: Ubuntu.

Actually one of the main reasons that I  trust and appreciate Go so much is because one of its inventors is Ken Thompson, who is also one of the creators of Unix.


Thanks and have a great day :-)

Allan Queiroz

unread,
Sep 4, 2012, 2:08:55 PM9/4/12
to golan...@googlegroups.com
I bought it on Amazon :)

Uriel

unread,
Sep 4, 2012, 5:25:45 PM9/4/12
to Caleb Doxsey, golan...@googlegroups.com
Haven't had time to read all of it, but looks cool.

Just one comment: I would strongly recommend replacing the section on
container/list with an explanation of how to properly and
idiomatically use slices.

New Go users tend to badly overuse container/* and instead of learning
the core slice idioms.

This was a bigger problem before container/vector was removed, but I
still see plenty of people now using container/List when a slice would
work just fine.

Uriel

Caleb Doxsey

unread,
Sep 5, 2012, 11:38:18 AM9/5/12
to golan...@googlegroups.com, Caleb Doxsey
Thanks for the feedback. Slices are explained in chapter 6, but a warning about misuse (like I did with sync) is probably a good idea.

jemeshsu

unread,
Sep 5, 2012, 1:53:16 PM9/5/12
to golan...@googlegroups.com
Great work thanks.

Now I hope some expert will write a book on Go Concurrency Design Pattern.

JHDjr

unread,
Sep 6, 2012, 6:33:18 PM9/6/12
to golan...@googlegroups.com
Just came across your book and it seems an ideal way for those who are learning GO as their first language to get started.  As an Ubuntu user I would love to see an addendum that address the installing on Debian based distros.  As newbie, I have struggled getting the archive I downloaded from the GO wiki.  The thought of a one-click download in the Ubuntu Software Center is what I dream of...

Thanks for your efforts..  
Reply all
Reply to author
Forward
0 new messages