Commercial modern day languages often get criticized because they don’t support function overloading by return type. That is to say, functions cannot be distinguished by return type. For example: int myfunction(int a, int b); float myfunction(int a, int b); char myfunction(int a, int b); Are not valid. That is kind of bad, because the possibility [...]
↧