And, strictly speaking @ isn't really a syntax feature.
It is just a binary message send. If another Smalltalk didn't have it, you could add it.
To add compile time arrays in other Smalltalks, you would have to change the compiler (not always an option).
I think most Smalltalks have literal arrays, though.
On Wed, Oct 29, 2008 at 4:51 PM, Matthias Berth matthias.berth@googlemail.com wrote:
Hi,
the @ method is not specific to Squeak. I guess it has been included in the earliest versions of Smalltalk already.
I don't know about any other Squeak-specific syntax (apart from arrays).
If you're concerned about portability of your code to other Smalltalk dialects then you might want to have a look at how the Seaside project handles it. They have some tool that finds problematic code.
Cheers
Matthias
On Wed, Oct 29, 2008 at 10:43 PM, Mark Volkmann mark@ociweb.com wrote:
I know that the syntax for literal and dynamic arrays is specific to Squeak. Is the @ method in the Number class for creating Point objects specific to Squeak? Is there any other syntax that is specific to Squeak?
Mark Volkmann
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners