Managing Duplicated Code with Linked Editing

M. Toomim, A. Begel, S.L. Graham
2004 IEEE Symposium on Visual Languages - Human Centric Computing  
We present Linked Editing, a novel, lightweight editorbased 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
more » ... diting can give the benefits of abstraction with orders of magnitude decrease in programming time.
doi:10.1109/vlhcc.2004.35 dblp:conf/vl/ToomimBG04 fatcat:y3ckdcnivrf2lfk6wz2ah4qj7m