[ANSI-Smalltalk] Next STEPs
Paolo Bonzini
bonzini at gnu.org
Thu Mar 6 08:05:51 GMT 2008
Andres Valloud wrote:
> Bruce,
>
> I think that another STEP for enhancements to make to the ANSI standard
> is in order. My motivation for this is that, over time, all the
> dialects have accumulated convenience methods which more often than not
> one misses when a different dialect is used. An example of this would
> be SequenceableCollection>>beginsWith: aSubSequence. I am sure we can
> think of others.
I agree a lot -- but you know that this is a *huge* can of worms? :-)
For example, why #beginsWith: and not #startsWith: since all other
methods use "#startingAt:" for example? And what about Stream>>#upToAll:?
IMHO what we should do is:
1) decide a source that wins if there are conflicts (unless there is
consensus that the source is obsoleted by recent best practice). I
would vote for Dave N. Smith's Black Book.
2) anyway, make sure that conflicting definitions in the dialects can be
worked around with Refactoring Browser rewritings. I'm using them to
port Seaside and they work great.
Paolo
More information about the ANSI-Smalltalk
mailing list