[squeak-dev] Pharo-Compatibility-fbs.2

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Fri Mar 8 22:02:38 UTC 2013


I think the origin of the problem is ANSI which defines #subStrings:
All other methods are spelled substring but #includesSubString:

I agree that #includesSubstring: looks better, you can include it in
trunk if you want, but I would be more carefull than Pharo about
deprecation
It is breaking compatibility of some packages (Seaside at least though
it is easy to Grease it)
I personnally think that this is quite high a price for such a minor
clean-up, and would rather call this a gratuitous breakage...

Nicolas

2013/3/8 Frank Shearar <frank.shearar at gmail.com>:
> Installer ss3
>     project: 'Scratch-fbs';
>     install: 'Pharo-Compatibility-fbs.2.mcz'
>
> It still only contains a single method, but instead of Symbol >>
> #isBinary, it's String >> #includesSubstring:.
>
> I wouldn't mind seeing this applied in trunk - and will, if people
> like it (and moving #includesSubString: to 45Deprecated) - but for now
> this is where you find the stuff you need for your favourite
> #includesSubstring:-using Pharo package.
>
> frank
>


More information about the Squeak-dev mailing list