From: Florian Gilcher Date: 2008-04-19T19:06:41+09:00 Subject: Re: why doesn't ruby have generics? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Apr 19, 2008, at 11:58 AM, thufir wrote: > Is it because Ruby is dynamic, or something else? > > > -Thufir > > Why would you bind to a type in a language that doesn't really care about types? Otherwise, it is easy to implement such functionality - just build a new kind of array that has to be constructed with a class. Check for this class on insertion. I don't see the use, though. Regards, Florian Gilcher -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkgJxCEACgkQJA/zY0IIRZYhXQCcDqUzhMN7cWJoYivpAXjx8s22 ZnwAn2VxHriGauNMTNod/uNtZNh76a9+ =JY6m -----END PGP SIGNATURE-----