Re: [6831staff] Clarification on PS4

2 views
Skip to first unread message

Rob Miller

unread,
Mar 31, 2010, 7:36:36 PM3/31/10
to Olayemi A F Oyebode, 6.831 Staff, 68...@googlegroups.com


On Wed, Mar 31, 2010 at 6:41 PM, Olayemi A F Oyebode <hollaat...@gmail.com> wrote:
For selection, we are told "you should put most of this code in the base class, Checkerboard". I'm confused about a few things:
1. Is this a recommendation or requirement?

This is a recommendation.  It means that you should put the code in a place where it's shared, so you only have to debug it once.  Don't repeat yourself.
 
2. How much of the code should be in CheckerBoard.mxml. Should it be aware of Checker objects?

Do what's sensible from a software design standpoint.  Checkerboard.mxml can certainly be aware of Checker objects.
 
3. Are we allowed to add eventlisteners to the checkerboard?

Yes.

Cheers,
Rob Miller


Reply all
Reply to author
Forward
0 new messages