[Cuis-dev] Class renaming

Luciano Notarfrancesco luchiano at gmail.com
Sat May 4 04:55:56 PDT 2024


Namespaces? ;)
Interesting, what was the not possible to do this before? What were the
main obstructions?

On Sat, May 4, 2024 at 03:11 Juan Vuletich via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> Hi Folks,
>
> For some experiments I've been involved with I wanted to be able to
> rename _any_ class in Cuis. The result was a series of updates and new
> images I pushed today to GitHub.
>
> So, you can have some fun by pulling the latest, and evaluating:
>
> Smalltalk allClassesDo: [ :cls |(RenameClass from: cls to: ('Cuis', cls
> name) asSymbol) apply ]
>
> After a couple of minutes, browse the system, and be surprised that this
> is even possible!
>
> Cheers,
>
> --
> Juan Vuletich
> www.cuis-smalltalk.org
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
> https://github.com/jvuletich
> https://www.linkedin.com/in/juan-vuletich-75611b3
> https://independent.academia.edu/JuanVuletich
> https://www.researchgate.net/profile/Juan-Vuletich
> https://patents.justia.com/inventor/juan-manuel-vuletich
> https://twitter.com/JuanVuletich
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240504/a49d030e/attachment.htm>


More information about the Cuis-dev mailing list