blob: 1458b83ca72a0ae7dfb78381a1f96ccff82a1614 [file] [log] [blame]
"First Class Functions in Go"
30 Jun 2011
Tags: codewalk, function, technical
Andrew Gerrand
* Introduction
Programmers new to Go are often surprised by its support for function types, functions as values, and closures. The [[][First Class Functions in Go]] code walk demonstrates these features with a simulation of the dice game [[][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 [[][]].