In my image only 9% of the accessors follow this pattern. Lukas 2010/9/13 Bart Gauquie <bart.gauquie@gmail.com>:
don't use the type, i only uses the name of the parameter var to derive the name of parameter
2010/9/13 Miguel Enrique Cobá MartÃnez <miguel.coba@gmail.com>
El lun, 13-09-2010 a las 14:02 +0200, Lukas Renggli escribió:
How you derive the type?
I think it only uses the name of the inst var to name the parameter var in the accessor.
From the method name? I think only very few accessors/inst-vars are named after the type.
Also note that you can edit the type directly in the changes browser before you install it, that's what I typically do.
Lukas
2010/9/13 Mariano Martinez Peck <marianopeck@gmail.com>:
i would like that too
On Sep 12, 2010 7:27 PM, "Bart Gauquie" <bart.gauquie@gmail.com> wrote:
Dear list,
I've noticed that when I'm using the generate accessors refactoring, I'm always adapting the generated code for the mutator: number: anObject   number := anObject to: number: aNumber   number := aNumber So I've adapted the refactoring code a bit so that it automatically generates this correctly. Anybody also thinks this is useful? If so, I will create a bug/improvement and a slice for it. Kind regards,
Bart _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Miguel Cobá http://miguel.leugim.com.mx
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- imagination is more important than knowledge - Albert Einstein Logic will get you from A to B. Imagination will take you everywhere - Albert Einstein Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Albert Einstein The true sign of intelligence is not knowledge but imagination. - Albert Einstein However beautiful the strategy, you should occasionally look at the results. - Sir Winston Churchill It's not enough that we do our best; sometimes we have to do what's required. - Sir Winston Churchill
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch