[Newbies] Re: Re: monticello package - adding instance
variablestoexisting classes
Matthew Fulmer
tapplek at gmail.com
Fri Nov 16 16:12:00 UTC 2007
On Fri, Nov 16, 2007 at 09:08:02AM -0700, Matthew Fulmer wrote:
> On Fri, Nov 16, 2007 at 08:36:22AM -0600, itsme213 wrote:
> > Traits might solve some of this, but I don't think I want to be that much on
> > the bleeding edge ...
>
> Traits don't seem to me to be related to the security example
> used at the Wikipedia entry on AOP. That is specifically
> designed to intercept and provide pluggable processing of
> messages. For instance, Pier Unix security is just a decorator
> added to each document in the pier document hierarchy that
> assigns permissions for actions.
Traits, on the other hand, are for suplementing the class
heiarchy with shared behavior. They do nothing about per-object
state and behavior, which seems more what you want.
--
Matthew Fulmer -- http://mtfulmer.wordpress.com/
Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808
More information about the Beginners
mailing list