Title :
Managing Duplicated Code with Linked Editing
Author :
Toomim, Michael ; Begel, Andrew ; Graham, Susan L.
Author_Institution :
Dept. of Comput. Sci., California Univ., Berkeley, CA
Abstract :
We present linked editing, a novel, lightweight editor-based technique for managing duplicated source code. Linked editing is implemented in a prototype editor called Codelink. We argue that the use of programming abstractions like functions and macros - the traditional solution to duplicated code - has inherent cognitive costs, leading programmers to chronically copy and paste code instead. Our user study compares functional abstraction with linked editing and shows that linked editing can give the benefits of abstraction with orders of magnitude decrease in programming time
Keywords :
macros; software engineering; text editing; Codelink; cognitive costs; duplicated source code; functional abstraction; lightweight editor-based technique; linked editing; macros; programming abstractions; programming time; Cloning; Computer languages; Computer science; Cost function; Functional programming; Linux; Object oriented programming; Programming profession; Prototypes; Software systems;
Conference_Titel :
Visual Languages and Human Centric Computing, 2004 IEEE Symposium on
Conference_Location :
Rome
Print_ISBN :
0-7803-8696-5
DOI :
10.1109/VLHCC.2004.35