Make Grid object mutable.
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 4 Aug 2016 20:18:29 +0000 (16:18 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 4 Aug 2016 20:18:29 +0000 (16:18 -0400)
commit6fe41dc7e88d0b191c2e8d522d66500203ed2bb8
tree0e7d5efa9545b8f0fbe2642e6eebc348c52c6212
parent54042df4de905f34081846cd36e6b56473971b37
Make Grid object mutable.

As it doesn't seem that a fully immutable object is possible in general (even
if it kinda works in this case, since there's nothing that needs to be hidden),
since all relevant data must pass through a public constructor.

Is a private constructor possible? If so, immutable objects can be doable.
life/006/life.ts
This page took 0.025036 seconds and 4 git commands to generate.