From: HarryO Date: 2001-07-17T10:34:52+09:00 Subject: [ruby-talk:17953] Re: Overloaded methods In article , "Aleksei Guzev" wrote: > Everyone can check types af the actual parameters at the beginning of > the method body. There is a lot of questions about how a method should > be chosen. And what should interpreter do when there are ambigious > methods? Now Ruby has very flexible mechanism. Agreed. I really just wrote my code to see if I could do it and because I figured I'd learn something about Ruby in the attempt, which was definitely the case. Even though I've written a lot of C++ and java code, I can't remember the last time I wanted to overload a method to work differently when different types of parameters were passed. Mainly, I have seen cases where some parameters have default values. If nothing else, playing with this and discussing it on the ML has pointed me at some articles on multi methods, which may or may not be of value to me, but are definitely interesting.