Timeline for Conway's Game of Life in JavaScript
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 8, 2014 at 8:48 | comment | added | Ross Drew | Yea, my bad. I see everything in Java terms these days ;) | |
Jan 8, 2014 at 0:02 | comment | added | IMSoP | Since this is JavaScript, there is no such thing as a "class". I guess what you mean is to have an object, or possibly a constructor for multiple similar objects, with the "private" data scoped to the constructor or an IIFE. The distinctions are worth keeping in mind, as I think a lot of JS code gets over-complex because people are trying to emulate OO as they know it from another language, rather than using the JS OO facilities to solve their actual problem. | |
Jan 7, 2014 at 14:27 | history | answered | Ross Drew | CC BY-SA 3.0 |