Reading stackoverflow questions, the general consensus seems to be that overloading is not part of polymorphism.
However, my OOP lecture notes state that:
"There are four kinds of polymorphism: Parametric, Inclusion, Coercion, and Overloading".
In the notes, it refers to overloading with methods with different parameters, and also overloading operators, e.g. + in the sense of ints and floats.
Wikipedia also states "Ad hoc polymorphism is supported in many languages using function overloading."
Thus i'm confused as to why people say this isn't part of polymorphism, as it seems to be in my opinion; we have different forms for one method.
Could anyone elaborate?
Thanks.