aboutsummaryrefslogtreecommitdiff
path: root/content/functions-codewalk.article
diff options
context:
space:
mode:
Diffstat (limited to 'content/functions-codewalk.article')
-rw-r--r--content/functions-codewalk.article19
1 files changed, 19 insertions, 0 deletions
diff --git a/content/functions-codewalk.article b/content/functions-codewalk.article
new file mode 100644
index 0000000..1ae0b84
--- /dev/null
+++ b/content/functions-codewalk.article
@@ -0,0 +1,19 @@
+# First Class Functions in Go
+30 Jun 2011
+Tags: codewalk, function, technical
+Summary: Announcing a new Go codewalk, exploring first class functions.
+OldURL: /first-class-functions-in-go-and-new-go
+
+Andrew Gerrand
+
+##
+
+Programmers new to Go are often surprised by its support for function types,
+functions as values, and closures.
+The [First Class Functions in Go](https://golang.org/doc/codewalk/functions/)
+code walk demonstrates these features with a simulation of the dice game
+[Pig](http://en.wikipedia.org/wiki/Pig_(dice)).
+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 [golang.org](https://golang.org/doc/docs.html).