Title :
Copying and swapping: influences on the design of reusable software components
Author :
Harms, Douglas E. ; Weide, Bruce W.
Author_Institution :
Dept. of Math. & Comput. Sci., Muskingum Coll., New Concord, OH, USA
fDate :
5/1/1991 12:00:00 AM
Abstract :
The authors argue that a simple alternative to copying as a data movement primitive-swapping (exchanging) the values of two variables-has potentially significant advantages in the context of the design of generic reusable software components. Specifically, the authors claim that generic module designs based on a swapping style are superior to designs based on copying, both in terms of execution-time efficiency and with respect to the likelihood of correctness of client programs and module implementations. Furthermore, designs based on swapping are more reusable than traditional designs. Specific arguments and examples to support these positions are presented
Keywords :
data structures; software reusability; copying; data movement primitive; generic module designs; generic reusable software components; swapping style; Computer languages; Computer science; Embedded software; Formal specifications; Information science; Mathematics; Object oriented programming; Software design; Software reusability;
Journal_Title :
Software Engineering, IEEE Transactions on