Hi,
there is a class variable named order in Stepper.
First, it is well behaved to capitalize class var names
Second, I think there is a confusion between class variable and class side instanceVariable.
A class var is shared between all subclasses, and it's clearly not what we want here: each subclass should have its own order.
Third, finally, we don't need no class instance variable at all right now, because every subclass redefine order (the message).
So I suggest removing order (the class var) and implement order ^self subclassResponsibility in Stepper.
What do you think?
--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
For more options, visit
https://groups.google.com/d/optout.