Example A-SIGNATURES Re: A Way to express Standard multi-argument Method Signatures in Smalltalk Re: [ANSI-Smalltalk] Next STEPs

Paolo Bonzini bonzini at gnu.org
Sun Mar 16 13:13:16 GMT 2008


> What about adding 'self' and 'thisContext' also?

This does not make sense at all.  It wouldn't be a literal Array.

I assume you would not want non-literal Array syntax with similar arguments.

>  (OrderedCollection new   <-  true  <-  false  <-  #foo) 

No, this cannot work, because by your definition you have

Collection >> <-anObject
     self add: anObject

and what about one-element collections?  Defining new language elements 
is hard.  The worst that could happen to this project, is to have 
extremely long threads with no conclusion as on the Squeak list.

And that's also why the STEPs are meant to categorize their own 
discussion.  I think one-catches-all discussions like this one should be 
  avoided actually.

Paolo



More information about the ANSI-Smalltalk mailing list