Hacker News new | ask | show | jobs
by yakshaving_jgt 815 days ago
I read Understanding the 4 Rules of Simple Design by Corey Haines yesterday evening.

It's a short book, so you can get through it in one sitting. The advice is mostly about OOP design, and how to shuffle things around and invent arbitrary constraints in order to make the code more testable. I found the advice fairly… underwhelming.

I decided to implement Conway's Game of Life myself (though not with OOP) as the author asserted the advice transcends implementation languages and paradigms.

My implementation isn't amazing either, but I'm not convinced by the advice in the book.

Here's my implementation.

https://github.com/jezen/gol