[Cuis-dev] added push down to single subclass refactor option

Christian Haider mail at christianhaider.de
Tue May 23 01:56:07 PDT 2023


Hi,

 

this is not a refactoring, since it changes the behavior of the system. See  <https://en.wikipedia.org/wiki/Code_refactoring> Code refactoring - Wikipedia .

Everything is fine when you call it a code transformation. But, please, don’t shift the meaning of “refactoring”.

 

Happy hacking and have fun with Smalltalk,

Christian

 

Von: Cuis-dev <cuis-dev-bounces at lists.cuis.st> Im Auftrag von Paolo Belforte via Cuis-dev
Gesendet: Dienstag, 23. Mai 2023 04:41
An: cuis-dev at lists.cuis.st
Cc: Paolo Belforte <pbelforte2003 at gmail.com>
Betreff: [Cuis-dev] added push down to single subclass refactor option

 

Hello everyone,

I'm still new to SmallTalk, but I've made a change to the base image of Cuis, adding this new refactor option as I find it very useful.
When you click this refactor, a "StringRequestMorph" asks for a name to pass the desired method to a single subclass. You can find this option just down the "push down" refactor, it's the "push down to".


Thanks,
Paolo.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230523/a8a1716a/attachment.htm>


More information about the Cuis-dev mailing list