O'Reilly logo

Holub on Patterns: Learning Design Patterns by Looking at Code by Allen Holub

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

image

This chapter provides an in-depth look at an implementation of John Conway’s Game of Life—probably the most widely implemented application on the planet. You’ll look at this particular program because my version applies ten distinct design patterns, all jumbled together as they are in the real world. At the same time, the program isn’t so large as to be impossible to understand.

I can’t really devote enough space in this chapter to give Life it’s due, but reams have been written on the subject. I’ve set up a web page at http://www.holub.com/software/life/ that lists various links to Life resources and also provides an applet version of the game ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required