DocumentCode :
1034181
Title :
Three public enemies: cut, copy, and paste
Author :
Mann, Zoltán Ádám
Author_Institution :
Budapest Univ. of Technol. & Econ.
Volume :
39
Issue :
7
fYear :
2006
fDate :
7/1/2006 12:00:00 AM
Firstpage :
31
Lastpage :
35
Abstract :
Many software developers know the feeling of desperately debugging a program only to discover after a sleepless night that the error stemmed from copy-pasted code segments that had become inconsistent in subsequent editing. The problems arising from copied code are not new, and many researchers have investigated how to automatically find copied code segments. Given the extensive use of copy-paste operations and their tendency to cause inconsistencies, there is clearly a pressing need to rethink current editor programs. One solution is to replace cut, copy, and paste with operations that correspond directly to the intended semantics behind their use. With these operations, the user can specify semantic relationships among copied objects, and the editor program can use that information to help in the long-term support of those relationships. It would thus avoid the inconsistencies that currently arise from the use of cut, copy, and paste
Keywords :
programming language semantics; software engineering; text editing; copy-paste code segment; program debugging; program editor; text editing; Computer languages; Java; Pressing; Software debugging; software development;
fLanguage :
English
Journal_Title :
Computer
Publisher :
ieee
ISSN :
0018-9162
Type :
jour
DOI :
10.1109/MC.2006.246
Filename :
1657904
Link To Document :
بازگشت