[Newbies] How does one decide which Class to use as a model?

Andy Burnett andy.burnett at knowinnovation.com
Sun Aug 17 23:19:16 UTC 2008


The HPI Seaside tutorial shows the data models as subclasses of Object, and
I have seen that elsewhere. However, some examples talk about finding the
closest class to use as your starting point. I am curious what experienced
Squeakers do.

Subclassing Object presumably gives maximum flexibility, but perhaps means
that one ends up building in functionality that already exists further down
the tree. On the other hand, taking a more specific class, might be a bit
like premature optimisation?

Cheers
AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080817/338d44ac/attachment.htm


More information about the Beginners mailing list