Generic programming: Difference between revisions

Content deleted Content added
Advantages and disadvantages: Small WP:COPYEDITs WP:EoS: WP:TERSE, clarify. MOS:FIRSTABBReviation clarify, define before parenthetic WP:ABBR.
m Generics in Ada: WP:LINKs: add, update-standardize. Proper noun > MOS:CAPS.
Line 112:
====Generics in Ada====
{{unreferenced|section|date=January 2024}}
[[Ada (programming language)|Ada]] has had generics since it was first designed in 1977–1980. The [[standard library]] uses generics to provide many services. Ada 2005 adds a comprehensive generic container library to the standard library, which was inspired by C++'s [[standardStandard templateTemplate libraryLibrary]].
 
A ''generic unit'' is a package or a subprogram that takes one or more ''generic formal parameters''.<ref>{{Cite web |title=Generic Units |url=https://www.adaic.org/resources/add_content/standards/05rm/html/RM-12.html |access-date=2024-04-25 |website=www.adaic.org}}</ref>