© Bala Paranj 2017

Bala Paranj, Test Driven Development in Ruby, 10.1007/978-1-4842-2638-4_6

6. Conway’s Game of Life

Bala Paranj

(1)Atlanta, Georgia, USA

This chapter will discuss how we can achieve a low semantic gap in the solution, thereby resulting in domain-rich code that communicates its intent clearly. We will see that dependencies must be semantically correct and only essential dependencies must be retained. We will also review some of the solutions available online to illustrate the fact that TDD does not magically result in good design. Developers are responsible for applying good design principles to create elegant and easy to understand solutions.

Problem Statement

Conway’s Game of Life (CGOL) is a cellular automaton devised by the British ...

Get Test Driven Development in Ruby: A Practical Introduction to TDD Using Problem and Solution Domain Analysis now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.