-
John DeNero authored
A codewalk through a simple program that illustrates several aspects of Go functions: function objects, higher-order functions, variadic functions, tail recursion, etc. The example program simulates the game of Pig, a dice game with simple rules but a nontrivial solution. R=adg, rsc, iant2, r CC=golang-dev https://golang.org/cl/4306045
4ffee801
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
codewalk.css | ||
codewalk.js | ||
codewalk.xml | ||
functions.xml | ||
pig.go | ||
popout.png | ||
sharemem.xml | ||
urlpoll.go |