首页 | 本学科首页   官方微博 | 高级检索  
     


Three public enemies: cut, copy, and paste
Authors:Mann   Z.A.
Affiliation:Budapest Univ. of Technol. & Econ., Hungary;
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:
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号