[cells-devel] initial stab at using Cells

Ken Tilton kentilton at gmail.com
Mon Apr 10 20:19:09 UTC 2006


On 4/10/06, Jack Unrue <jdunrue at gmail.com> wrote:
>
> I feel the need to strike the right balance between UI/logic separation
> vs. taking full advantage of Cells.


Oh, if you are big on separation maybe you can confirm something I suspect,
namely that Cells, by allowing different instances of the same class to have
different rules for the same slot, makes OO design.

For example, one can have a game normally look like:

   (make-instance 'game
        :speed (c? (* (^difficulty-slider) 500))...

But then for debugging a hard problem you might want to play back a log at
full speed and so the replay code goes:

   (make-instance 'game :speed 500...

In the first case the game /instance/ is being driven by the GUI slider
widget, but the game /class/ does not know about the GUI.

Does that make sense in resolving the separation issue?

ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cells-devel/attachments/20060410/e125b6e3/attachment.html>


More information about the cells-devel mailing list