From: Chad Perrin Date: 2007-03-21T11:11:53+09:00 Subject: Re: does Ruby not support multiple "initialize" methods for a class??? On Wed, Mar 21, 2007 at 10:36:05AM +0900, Daniel Berger wrote: > > Not true. Perl 6 will have optional static typing [1]. Sydney faked it > with a Behavior you could import (that used the parser to handle it, not > a compile time step, IIRC). > > It's possible. The question is whether or not it's desirable. I vote > yes, others say no, and still others are in favor of some sort of type > inferencing. It's been brought up before - you can search the archives. :) I'm a fan of Ruby's dynamic typing. When I want type inference, I use OCaml instead. My thought is not that I should have one language that does everything, but that each language I have available is optimally useful for the tasks in which I choose to employ it. That being said . . . I'm not saying we should necessarily have overloading in Ruby. I just wonder if there might be another way to solve the same problem without having to resort to development patterns to "work around" a lack of easy functionality. I'm not entirely sold on the idea that there's enough "working around" to bother in this case, but there might be. Thus, my question. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] unix virus: If you're using a unixlike OS, please forward this to 20 others and erase your system partition.