logo       

Re: Re: Re: monticello package - adding instance variablestoexisting classe: msg#00093

lang.smalltalk.squeak.beginners

Subject: Re: Re: Re: monticello package - adding instance variablestoexisting classes

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise