From: Christoph Date: 2002-09-27T00:34:53+09:00 Subject: Re: adding overload to ruby "Justin Johnson" wrote .... > > This topic seems to have become side-railed. Sigh, the overload discussing always follows this unfortunate route .. > > I'd only ever agree to optional argument type parameters as a means to allow > multi-dispatch. This _increases_ the flexibility of the language. It is > not the same as type specification in languages like C/C++ or Java. But > maybe it appears to be similar enough to never include into Ruby. Lets repeat this again: muli-dispatch != type-safety issues of langue like C/C++ or Java > > Forcing type specification for everything would make compilation much easier > but would destroy the dynamic nature of Ruby. Which, of course, would be a > bad, bad thing. > > I don't see how adding this feature for multi-dispatch decreases the > flexibility/dynamicness of Ruby - only enhances it. Well said!!! /Christoph