Generics
ducasse
ducasse at iam.unibe.ch
Sun Sep 28 07:10:30 UTC 2003
Hi phil
But collection can contain any objects in Smalltalk so there is no need
for generic.
Then the collection all share an excellent protocol:
do: collect: select:, issEmpty....
So you have at hand a really powerful set of collection. Note that type
safe does not mean too mcuh in the context of dynamically typed
language.
Stef
On Dimanche, sep 28, 2003, at 02:05 Europe/Zurich, Phil Hudson wrote:
> Are generic/template/parameterized/typesafe collections available in
> Smalltalk? I've had a look and can't see anything in the Squeak distro
> or
> SqueakMap.
>
> Or am I just not "getting it"? Is it just not "thinking in Smalltalk"
> to
> insist on a type?
>
>
More information about the Squeak-dev
mailing list
|