Top "Overloading" questions

The terms overloading and overloaded may refer to: - Constructor and method overloading, a type of polymorphism where different functions with the same name are invoked based on the data types of the parameters passed - Operator overloading, a form of functional or method overloading where the action being overloaded is an operator, such as + or -

Function overloading in Python: Missing

As this says: http://web.archive.org/web/20090624083829/http://mail.python.org/pipermail/python-list/2003-May/206149.html Function overloading is absent …

python overloading missing-features
Function overloading by return type?

Why don't more mainstream statically typed languages support function/method overloading by return type? I can't think of any that …

programming-languages language-design overloading function-calls
Is it possible to have different return types for a overloaded method?

In method overloading, is it possible to have different return types for a overloaded method? for example, void foo(int …

overloading
Overloaded functions in python?

Is it possible to have overloaded functions in Python? In C# I would do something like void myfunction (int first, …

python function arguments overloading
Overload with different return type in Java?

Why is it not possible to overload a function just by changing the return type? Will that change in a …

java overloading
Methods with the same name in one class in python?

How to declare few methods with the same name ,but with different numbers of parameters or different types in one …

python overloading
Properly removing an Integer from a List<Integer>

Here's a nice pitfall I just encountered. Consider a list of integers: List<Integer> list = new ArrayList<…

java collections overloading
overload print python

Am I able to overload the print function and call the normal function from within? What I want to do …

python printing overloading
Why does String.valueOf(null) throw a NullPointerException?

according to the documentation, the method String.valueOf(Object obj) returns: if the argument is null, then a string equal …

java null nullpointerexception overloading api-design
Call to non-static member function without an object argument

Can anyone explain this error any why I am getting it? I believe I've got all of the arithmetic down …

c++ object overloading fractions