[Pharo-users] Re: mapping CamelCase to

2022-10-26 Thread Richard O'Keefe
What's wrong with $- join: (s cutCamelCase collect: [ :each | each asLowercase]) where s is the string you want to transform? I'm sure you're aware of the proverb: You have a problem and you decide to solve it with a regular expression. Now you have TWO problems. MYWeirdName and MyWeirdName

[Pharo-users] Re: mapping CamelCase to

2022-10-26 Thread Richard O'Keefe
The important thing is that there is no NEED to write a new method to split a Smalltalk identifier into pieces, because there already *IS* such a method. Only write a new method if the existing one doesn't actually work for you. For example, what do you want to be done with strings or symbols tha

[Pharo-users] Re: mapping CamelCase to

2022-10-26 Thread Kasper Osterbye
> > What's wrong with > > $- join: (s cutCamelCase collect: [ :each | each asLowercase]) There is no method called cutCamelCase in Pharo. If there was, this was exactly the right solution to use something existing. Best, Kasper

[Pharo-users] [Ann] Bloc v1.0

2022-10-26 Thread stephane ducasse
Hi all At ESUG and after about a year of development, the Pharo consortium was happy to announce a first version of the Bloc graphics framework as available in https://github.com/pharo-graphics/bloc Here is the video of the ESUG presentation

[Pharo-users] Re: [Ann] Bloc v1.0

2022-10-26 Thread Stéphane Ducasse
> On 26 Oct 2022, at 13:25, stephane ducasse wrote: > > Hi all > > At ESUG and after about a year of development, the Pharo consortium was happy > to announce > a first version of the Bloc graphics framework as available in > > https://github.com/pharo-graphics/bloc >