Lukas Renggli wrote:
May I take the
liberty of pointing out again that since the existing
description builder uses a class var for "Default" rather than a class
instance var as would be preferable for subclassing the existing
description builder.
Yes, that's exactly the reason I use a class var ;-)
All the users of a description builder use
MADescriptionBuilder default
If you want to use your own custom description builder, you assign a
different one to be used as default:
MADescriptionBuilder default: SpecialBuilder new
Regards,
Lukas
Ah I see.
My typical use case is to use my specialized builder in specific
circumstances.
I do a
SpecialBuilder default
to obtain the builder that I want, so I shall change that to
SpecialBuilder instance, instead and have instance as the class instance
var.
thanks
Keith