[squeak-dev] Re: Unload Traits script
itsme213
itsme213 at hotmail.com
Tue May 13 13:08:10 UTC 2008
"Klaus D. Witzel" <klaus.witzel at cobss.com> wrote in message
> Yes, if there really is some class traits that the instance traits depends
> on, it would have value.
It shows up often when designing a DSL e.g. for state machines
- FSMClassTrait: stateList, initialState, transitions
- FSMInstanceTrait: currentState, doTransition: anEvent
> But I doubt that the class traits can then be re-used (for instance
> creation and/or class initialization)
Probably true.
- Sophie
More information about the Squeak-dev
mailing list
|