:) look more and more like CLOS :) now a question: what do you accept as value: (literals or expressions). I have the impression that literals are better because no runtime needed. Stef
Hi,
Todays small improvement:
ExampleSlotWithDefaultValue now allows to set the default in the definition (it was before just hard coding a value).
e.g.
Object subclass: #GG slots: { #gg => ExampleSlotWithDefaultValue default: 5 } classVariables: { } category: âPlayGround'
When inspecting
GG new
â> the slot is initialised to 5.
https://pharo.fogbugz.com/f/cases/14991/ExampleSlotWithDefaultValue-allow-de... - Slot: storeOn: calls printOn: - PropertyBaseSlot: use mangeled name: #_propertyBaseSlot - ExampleSlotWithDefaultValue: set default in definition
Marcus