Hello Friends,
Hello Friends,
Function overloading isn't really a feature of OO programming. Sub-class function over-riding for the purpose of polymorphism is usually considered a necessary feature of OO - but not function overloading based on arguments. Python doesn't have argument-based function overloading either. Anyway, function overloading is probably more practical in statically-typed languages where function binding happens at compile time and is based on the type of each function parameter.
|
Bookmarks