A codewalk through a simple program that illustrates several aspects of Go…
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
Showing
doc/codewalk/functions.xml
0 → 100644
doc/codewalk/pig.go
0 → 100644
Please
register
or
sign in
to comment