[squeak-dev] $- in binary selectors
Bert Freudenberg
bert at freudenbergs.de
Thu Feb 25 08:07:12 UTC 2010
On 25.02.2010, at 01:52, Eliot Miranda wrote:
>
>
> On Wed, Feb 24, 2010 at 4:20 PM, Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com> wrote:
> Lukas suggested to not provide backward compatibility and compile 1 at -2
> as 1 @- (2)
> This should be done anyway. But IMO @- should be implemented to raise an error /not/ sign-invert! We want people to clean up, not rely on a crutch.
I for one would hate if I could't type -1 at -1 interactively anymore. This syntax is so common and used almost as if it was a literal that I strongly feel @- should be implemented to do the expected (and Point's printOn: should generate text without parens).
- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100225/d5542eb6/attachment.htm
More information about the Squeak-dev
mailing list
|