Code reuse: Difference between revisions

Content deleted Content added
No edit summary
Point out that "code copying" is more like duplication than reuse
Line 13:
The general practice of using a prior version of an extant program as a starting point for the next version, is also a form of code reuse.
 
Some so-called code "reuse" involves simply copying some or all of the code from an existing program into a new one. While organizations can realize [[time to market]] benefits for a new product with this approach, they can subsequently be saddled with many of the same [[code duplication]] problems caused by [[cut and paste programming]].
 
Many researchers have worked to make reuse faster, easier, more systematic, and an integral part of the normal process of programming. These are some of the main goals behind the invention of [[object-oriented programming]], which became one of the most common forms of formalized reuse. A somewhat later invention is [[generic programming]].