Why so few binary method selectors?

Stefan Matthias Aust sma at mail.netsurf.de
Tue Mar 23 19:49:44 UTC 1999


>> @ for at:  (access to collections elements by numerical index)
>
>I like it. (Incidentally, I know of only one other language that
>exploits @ being pronounced as "at".)

if you'd add 

@ index
  ^self at: index

to class Object, you could use it exactly in the same way as #at:.

bye
--
Stefan Matthias Aust  //  ...and now something completely different





More information about the Squeak-dev mailing list