Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

This is an implementation of conways game of life where I attempted the code-retreat exercise of "Verbs instead of Nouns" - things of interest:

  • You potentially end up with a lot more classes, but the classes are smaller.

  • At first glance it would appear the solution would lend itself to replacing the various classes with functions, and taking a functional approach to implementation.

  • The Cell and Cell List are bereft of behaviour. Though the exercise is verb's instead of nouns, I'm not to sure how you would eliminate the need for a noun-named class to represent your data - though if you review Point, Cell and CellList - this could in fact be replaced with something like:


e.g. List of tuples representing cells, which in turn uses a tuple to represent the point the cell exists at.

You can’t perform that action at this time.