From: Arlen Cuss Date: 2008-04-19T19:05:06+09:00 Subject: Re: why doesn't ruby have generics? ------=_Part_6711_20592543.1208599506086 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, On Sat, Apr 19, 2008 at 7:58 PM, thufir wrote: > Is it because Ruby is dynamic, or something else? Well.. there's no explicit typing anywhere, so the concept of a `generic' makes no sense. *Everything* is generic, as far as duck-typing works. Think of an example of a generic in C#, C++, any-other-language-that-has-them-I-don't-know -- the code works generically in Ruby, too! Look up `duck typing' to get an idea about it. Cheers, Arlen ------=_Part_6711_20592543.1208599506086--