Semantics-Preserving Procedure Extraction

Procedure extract ion is an important program transformation that can be used to make programs easier to understand and maintain, to facilitate code reuse, and to convert "Monolithic" code to modular or object - oriented code. Procedure extraction involves the following steps: The statements to be extracted are identified (by the programmer or by a programming tool), if the statements are not contiguous, they are moved together so that they form a sequence that can be extracted hit o a procedure, and so that the semantics of the original code is preserved, the statements are extracted into a new procedure, and are replaced with an appropriate call.

Provided by: University of Wisconsin Topic: Software Date Added: Jan 2011 Format: PDF

Find By Topic