diff options
author | Andrew Gerrand <adg@golang.org> | 2013-03-08 11:17:09 +1100 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2013-03-08 11:17:09 +1100 |
commit | db9a09ff445f7e6bfcb2d3484f8c6bad13ebdd3d (patch) | |
tree | 513b5f3d579e7c1fcbc304058ddaa2551e7c24fb /content/first-class-functions-in-go-and-new-go.article | |
parent | 0ee9872fcd5cf9023cb43a68faf67203cbe81295 (diff) |
go.blog: add content
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/7436052
Diffstat (limited to 'content/first-class-functions-in-go-and-new-go.article')
-rw-r--r-- | content/first-class-functions-in-go-and-new-go.article | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/content/first-class-functions-in-go-and-new-go.article b/content/first-class-functions-in-go-and-new-go.article new file mode 100644 index 0000000..b3b3852 --- /dev/null +++ b/content/first-class-functions-in-go-and-new-go.article @@ -0,0 +1,15 @@ +"First Class Functions in Go" and new Go course notes +30 Jun 2011 +Tags: codewalk, function + +Andrew Gerrand + +* Introduction + +We would like to announce some new and revised Go learning materials. + +Programmers new to Go are often surprised by its support for function types, functions as values, and closures. The [[http://golang.org/doc/codewalk/functions/][First Class Functions in Go]] code walk demonstrates these features with a simulation of the dice game [[http://en.wikipedia.org/wiki/Pig_(dice)][Pig]]. It is a pretty program that uses the language to great effect, and a fun read for Go beginners and veterans alike. + +The [[http://golang.org/doc/docs.html#course_notes][Go course]] is a [[http://golang.org/doc/GoCourseDay1.pdf][three]] [[http://golang.org/doc/GoCourseDay2.pdf][part]] [[http://golang.org/doc/GoCourseDay3.pdf][series]] that describes the language in detail, including the basic syntax, type system, and concurrency primitives. These notes were available at launch in 2009, but since then the language has changed a bit and the course notes had become an outdated and unreliable resource. We recently revised all three slide decks in their entirety, updating them to match contemporary Go syntax and semantics. The course is ideal for those who want to get the full picture and a great resource for teaching the language to others. + +These resources and many more are available at [[http://golang.org/doc/docs.html][golang.org]]. |