> > A role can also supply one or more attributes. > > : inheritance (and maybe some other stuff, too). Used with C<does>.
The smalltalk paper you mentionned which talked about roles (under the name of traits) said that roles were stateless. What are the consequences of using stateful roles? A related question. Will getter and setter methods will have the same name as the underlying accessed attributes? -- stef