[Pharo-project] syntax highlighting for (stateful) traits (non-local methods)
toon.verwaest at gmail.com
Sun Apr 3 18:10:32 CEST 2011
On 04/03/2011 06:46 PM, Alexandre Bergel wrote:
>>> Thanks I should digest it.
>>> Now what I did not like in our stateful model was that
>>> - in introduced too many operators
>>> - I'm not sure I like trait state to be private because it changes a lot the smalltalk model
> At least, Toon will avoid all the problems we had with the renaming and unwanted name clashed. Trait's accessors and mutators should then do their job.
And since we would apply slot aliasing, we only need to provide the
alias to the users. It's an extra way of weaving traits, not just
getter+setter anymore. This means that they don't become public
accessors! The slots are used for private access.
More information about the Pharo-project