diff options
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 | 8 |
1 files changed, 7 insertions, 1 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 index 1458b83..29cab3a 100644 --- a/content/first-class-functions-in-go-and-new-go.article +++ b/content/first-class-functions-in-go-and-new-go.article @@ -6,6 +6,12 @@ Andrew Gerrand * Introduction -Programmers new to Go are often surprised by its support for function types, functions as values, and closures. The [[https://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. +Programmers new to Go are often surprised by its support for function types, +functions as values, and closures. +The [[https://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. More resources are available at [[https://golang.org/doc/docs.html][golang.org]]. |