[Pharo-project] Smalltalk string API
serge.stinckwich at gmail.com
Wed Feb 16 10:39:59 CET 2011
On Wed, Feb 16, 2011 at 4:24 PM, Nicolas Cellier
<nicolas.cellier.aka.nice at gmail.com> wrote:
> I started referencing Smalltalk idioms at
> I could have focused on ANSI but have chosen Squeak/Pharo. Feel free
> to correct me and to complete me.
> This is a very enlighting exercize, especially for pointing when API
> turns to be not that bright.
> During my perigrination, I notably noticed this:
> #compare: returns 1, 2, or 3 : this is both very object oriented, very
> intuitive and very standard and the rest of the world is stupid,
Yes, really stupid, but maybe Squeak/Pharo should align here to the
rest of the world or
better, remove this method. We could use comparaison methods instead: <, >, ...
UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam
Every DSL ends up being Smalltalk
More information about the Pharo-project