このページは http://www.slideshare.net/paulk_asert/tictactoe-groovy の内容を掲載しています。
Explores how to write a tic-tac-toe API that meets some interesting static typing constraints. Sp...
Explores how to write a tic-tac-toe API that meets some interesting static typing constraints. Specifically, programs using the API may fail to compile, depending on the state of play in the game, such as trying to call move() with an already completed game board. The real theme of the presentation is not so much solving the tic-tac-toe problem but, rather, pushing static typing to its limits (and some might argue beyond its useful limits—you will have to judge for yourself).