From: Jason Roelofs Date: 2008-04-08T06:23:01+09:00 Subject: Re: Method parameters Type On Mon, Apr 7, 2008 at 4:47 PM, Iñaki Baz Castillo wrote: > El Lunes, 7 de Abril de 2008, Sreedhar Kesanasetti escribió: > > > Unlike Java why does not ruby specify the method parameter types. > > How can a caller know what type of parameter is the method expecting. > > Because Ruby use dynamic dispatch, not static as Java. > PD: Is correct "dynamic dispatch" in English? > No, dynamic dispatch is not the correct term here. Just dynamic (but strong!) typing. Dynamic dispatch has to do with polymorphism: http://en.wikipedia.org/wiki/Dynamic_dispatch Jason