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 do. It seems no less useful or reasonable than supporting overload by parameter type. How come it’s so much less popular?

14 Answers
14

Leave a Comment