posts - 50, comments - 105, trackbacks - 346

My Links

News

Article Categories

Archives

Post Categories

Image Galleries

Friends Blog

Mark of Polymorphism

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?????

Print | posted on Tuesday, April 27, 2004 3:05 PM | Filed Under [ C# ]

Feedback

Gravatar

# re: Mark of Polymorphism

Armor2net Personal Firewall is able to stop Internet pop-up ads, a feature that can be customized for each individual Web site. The program will also search your computer for spyware, and remove the spyware components safely.
For more information, please visit: http://www.armor2net.com
8/18/2004 7:43 AM | Grant Brown
Gravatar

# re: Mark of Polymorphism

trewtr
6/5/2006 11:42 PM | projektowanie stron

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 6 and 1 and type the answer here:

Powered by: