In one of technical discussion with friends, different topics were discussed, there was a point on Polymorphism, one of those feels, Polymorphism is not of use and debate continued.
His supporting points are
Polymorphism is to have common name for similar type of functionality and for different data types and arguments.
a) How do we know that which data types a function/procedure it supports?
b) Even if I know, the function name is not self explanatory
a. Eg: add(int, int) , add(double, double)
Which could be easily expressed as addInteger(int, int) and addDouble(double,double).
I could say polymorphism has been included as a flavored item, to increase the list in OOPs, for advertising.
Is this so?????