CSC/ECE 517 Fall 2010/ch2 S20 CR: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 6: Line 6:
=== Internal Code Reuse ===
=== Internal Code Reuse ===
Suppose a team needs to start a new project.In order to start the project the team can use all possible reusable components that it has built earlier instead of again re-creating them.Such usage of reusable components is referred as Internal Code Reuse.Few such examples of Internal Code reuse are :
Suppose a team needs to start a new project.In order to start the project the team can use all possible reusable components that it has built earlier instead of again re-creating them.Such usage of reusable components is referred as Internal Code Reuse.Few such examples of Internal Code reuse are :
* Simple Copy and Paste of the Code
==== Simple Copy and Paste of the Code ====
Here we simply try to find the source code that perform the required functionality.We copy and paste the source code into our required code area.But in this case people sometimes try to copy from an external source which is discouraged method and it leads to plagiarism.
Here we simply try to find the source code that perform the required functionality.We copy and paste the source code into our required code area.But in this case people sometimes try to copy from an external source which is discouraged method and it leads to plagiarism.
   
   
* Software Library
==== Software Library ====


=== External Code reuse ===
=== External Code reuse ===

Revision as of 05:15, 6 October 2010

Introduction to Code Reuse

Advantages of Code Reuse

Disadvantages of Code Reuse

Categories of Code Reuse

Internal Code Reuse

Suppose a team needs to start a new project.In order to start the project the team can use all possible reusable components that it has built earlier instead of again re-creating them.Such usage of reusable components is referred as Internal Code Reuse.Few such examples of Internal Code reuse are :

Simple Copy and Paste of the Code

Here we simply try to find the source code that perform the required functionality.We copy and paste the source code into our required code area.But in this case people sometimes try to copy from an external source which is discouraged method and it leads to plagiarism.

Software Library

External Code reuse