I have a really strong opinion on Traits, which is: they are bad, because they are stateless. I proposed a better solution, which would have allowed you to work with classes only, but no one showed interest in it.
Levente
On Mon, 1 May 2017, Tony Garnock-Jones wrote:
On 5/1/17 1:26 PM, Levente Uzonyi wrote:
I presume that a general purpose in-image solution would be more complex. String already has too many subclasses (6 in Squeak), while at the same time other kind of new subclasses would be welcome too, e.g. Strings with 2-byte characters. Since these properties are orthogonal, there would be many new subclasses to cover all cases.
A classic motivating case for Traits, right?
Tony
vm-dev@lists.squeakfoundation.org