Function overloading: Difference between revisions

Content deleted Content added
Add Nim as language supporting overloading, along with reference to manual
Citation bot (talk | contribs)
Add: date. Removed parameters. | Use this bot. Report bugs. | Suggested by Headbomb | #UCB_toolbar
Line 131:
If a method is designed with an excessive number of overloads, it may be difficult for developers to discern which overload is being called simply by reading the code. This is particularly true if some of the overloaded parameters are of types that are inherited types of other possible parameters (for example "object"). An IDE can perform the overload resolution and display (or navigate to) the correct overload.
 
Type-based overloading can also hamper code maintenance, where code updates can accidentally change which method overload is chosen by the compiler.<ref>{{Cite web|url=https://gbracha.blogspot.fr/2009/09/systemic-overload.html|title=Systemic Overload|last=Bracha|first=Gilad|date=3 September 2009|author-link=Gilad Bracha|publisher=Room 101|publication-date=3 September 2009}}</ref>
 
==See also==
Line 147:
 
==External links==
* {{cite journal |last=Meyer|first=Bertrand|author-link=Bertrand Meyer |date=October 2001 |title=Overloading vs Object Technology |url=http://se.ethz.ch/~meyer/publications/joop/overloading.pdf |journal=Journal of Object-Oriented Programming |volume=14 |issue=4 |access-date=27 August 2020 |department=Eiffel column |publisher=101 Communications LLC |pages=3{{ndash}}7 |format=pdf}}
 
[[Category:Method (computer programming)]]