Talk:Polymorphism in object-oriented programming: Difference between revisions

Content deleted Content added
Cut down examples: Reply - you're right. Thanks.
m -redundant class param; cleanup
 
(10 intermediate revisions by 9 users not shown)
Line 1:
{{WikiProject banner shell|
{{WikiProject Computer science}}
{{WikiProject Java|class=stub|importance=low}}
{{todo}}
{{To do}}
 
==Untitled==
Line 152 ⟶ 154:
 
:::You're correct about the scope of the article being OO. Throughout the article, we refer to "polymorphism" generally, so the additional specificity in the article title sort of slipped my mind. That would, indeed, make the javascript example not relevant. After simplifying the java example a little bit, and changing C++ to Python, I'm actually ''okay'' with it. I still think the java example is really long, but PHP is too close to Python to make a second example of it useful, and the others I'm not so sure about. I think the current state of things is okay, assuming you're also fine with it. I'll assume you are based on your above response, but let me know if you have any other concerns. &nbsp; &mdash; [[User:Mann_jess|<b>Jess</b>]]<span style="margin:0 7px;font-variant:small-caps;font-size:0.9em">&middot; [[Special:Contributions/Mann_jess|&Delta;]][[User_talk:Mann_jess|&hearts;]]</span> 20:45, 26 October 2011 (UTC)
:::: Looks OK to me, I think within programming readers Java is better as it has a higher following, none programmers would probably be better served with a simpler C# example, but how many non-programmers are going to be interested in this article? I'm going to see if I can't add some references/clean up the rest of the article now. [[User:Carl Sixsmith|Carl Sixsmith]] ([[User talk:Carl Sixsmith|talk]]) 06:38, 27 October 2011 (UTC)
 
== Didn't Understand ==
 
This article doesn't tell what Polymorphism is. I read the article for four times. It fails to define Polymorphism. It fails to explain Polymorphism. It fails to distinguish it from function overloading.
 
Please -someone knowledgable- write a definition at the beginning and an explanation in the second paragraph. Then indicate the difference from overloading.--[[Special:Contributions/129.7.147.112|129.7.147.112]] ([[User talk:129.7.147.112|talk]]) 16:03, 15 December 2011 (UTC)
 
 
== Needs Merging ==
 
Since this article is so small and deals with a subdivion of the original concept, i feel it should be merged with the main article for polymorphism. In doing so it would shed light on the inaccuracies people have been complaining about and thus increase the chance of someone fixing the mistakes, there is no need for a separate article to discuss something that only needs a brief explanation to distinguish its use in OO vs other paradigms. <small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Konnerjr|Konnerjr]] ([[User talk:Konnerjr|talk]] • [[Special:Contributions/Konnerjr|contribs]]) 16:58, 21 December 2012 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->
 
== Python example doesn't show distinction between polymorphism and method overriding ==
 
The article clearly states that polymorphism is not method overriding. Yet isn't the latter exactly what the example is doing?
--[[User:Henre|Henre]] ([[User talk:Henre|talk]]) 23:33, 31 March 2013 (UTC)
 
:This article clearly states very little! We have:
::... ''Polymorphism (which is strictly referring to subtype polymorphism in the context of this article)'' ...
:Followed by a section headed:
::''Parametric Polymorphism''
:If you come to the areticle with no prior knowledge, you would leave confused. --[[User:Paddy3118|Paddy]] ([[User talk:Paddy3118|talk]]) 05:49, 21 April 2013 (UTC)