Which Ruby guru an Python guru is going to give it a shot? [I am a Tcl guy... hey, that's an everything is a string language... ] Oh well, I started something:

http://www.smalltalkhub.com/#!/~philippeback/StringTclShim

So, who is taking StringRubyShim and StringPythonShim :-p ?

Phil



On Wed, Feb 26, 2014 at 5:09 PM, Camillo Bruni <camillobruni@gmail.com> wrote:

On 2014-02-26, at 03:53, Hern�n Morales Durand <hernan.morales@gmail.com> wrote:

>
>
>
> 2014-02-25 8:49 GMT-03:00 phil@highoctane.be <phil@highoctane.be>:
> Yes but... in Pharo strings are collections and a ton of things can be done with collections already.
> Other languages have more "basic" strings and are cutting them in all ways possible but not as collections.
>
> things like detect, inject etc are not really in the repertoire of other languages. Okay, there are chop, split, ... but these are pretty basic things.
>
> Why not have a test suite with a test for demonstrating how to do these things with the platform we do have?
>
> e.g. testChomp, testSplit, ...all put in �a Tests-Strings-RubyStyle or Tests-Strings-PythonStyle packages?
>
> And like there are Seaside-Pharo-XXX packages, why not a String-Ruby-XXXX thing ?
>
>
> Yes, that is a really good idea.

indeed, we can do it in two steps:

1. create the ruby / pythonic compatibility packages (blindly ignoring any pharo conventions)
2. see which methods (if any) actually make sense to steal