From: Christopher Dicely Date: 2010-04-19T15:48:45+09:00 Subject: Re: Life without Method Overloading? On Sun, Apr 18, 2010 at 10:53 PM, Derek Cannon wrote: > How do Ruby programmers handle method overloading? In Java, I could > easily create several methods of the same name that accept a variety of > input. > > I know in Ruby, using *args you can accept an unlimited number of > parameters. Do I just this with a series of if statements? Mostly, I think instead of creating several methods of the same name, Ruby programmers tend to create methods with different names. Some of the use cases of overloading can also be addressed with optional arguments, trailing hash arguments, and so on.