|
|
|
|
|
by mooman219
3376 days ago
|
|
Not only is this possible, as stated by the article, this level of overloading is incredibly useful for in a number of areas and has been used for a long time. One use case is API backwards compatibility. If your API wants to change the return type of a function, say from int to double, but also wants to maintain binary backwards compatibility, you can do that. See OverMapped [ https://github.com/Wolvereness/OverMapped ]. Obfuscation is another area and ProGuard employs this to make decompliling more difficult iirc. |
|