How about Smalltalk-2000?
John Clonts
jclonts at mastnet.net
Wed Feb 16 22:12:45 UTC 2000
Jecel Assumpcao Jr. wrote:
>
[snipped discussion of syntax]
>
> You are free to write expressions like
>
> 7 <==@==> 9
>
> as long as you define a #<==@==> method for numbers. And you can write
>
> 'hello' + 'world'
>
> by defining a #+ method for String (or Collection even).
>
Which reminds me, how and when did the numeric protocol get into
String? I did '123' + '456' and got '579'. Is that a good Idea?
Cheers,
John
More information about the Squeak-dev
mailing list
|