On 8 Dec 2007, at 14:54 , Toon Verwaest wrote:
(...
absent = default value
(attr ) = default value
(attr nil) = nil value
(attr "..some..") = some value
...)
ok above defaultValue means nil in Smalltalk?
Default value in smalltalk means what the class puts as default
value in
"initialize" I guess. This would be the smalltalk variant of what I am
currently doing in Python.
Default value for booleans is false and for numbers it is 0, see FM3
(draft) spec.
Currently FM3 does not allow other default, question is if we really
need that, as we have no usecase yet. @Lukas, how is it in Magritte?
Defaults for primitve attributes are straight forward, whereas
default values for other attributes lead into the whole meta-behavior
mess...
AA