Please use this identifier to cite or link to this item: https://scholarbank.nus.edu.sg/handle/10635/41210
DC FieldValue
dc.titleBeyond templates: A study of clones in the STL and some general implications
dc.contributor.authorBasit, H.A.
dc.contributor.authorRajapakse, D.C.
dc.contributor.authorJarzabek, S.
dc.date.accessioned2013-07-04T08:22:10Z
dc.date.available2013-07-04T08:22:10Z
dc.date.issued2005
dc.identifier.citationBasit, H.A.,Rajapakse, D.C.,Jarzabek, S. (2005). Beyond templates: A study of clones in the STL and some general implications. Proceedings - 27th International Conference on Software Engineering, ICSE05 : 451-459. ScholarBank@NUS Repository.
dc.identifier.urihttp://scholarbank.nus.edu.sg/handle/10635/41210
dc.description.abstractTemplates (or generics) help us write compact, generic code, which aids both reuse and maintenance. The STL is a powerful example of how templates help achieve these goals. Still, our study of the STL revealed substantial, and in our opinion, counter-productive repetitions (so-called clones) across groups of similar class or function templates. Clones occurred, as variations across these similar program structures were irregular and could not be unified by suitable template parameters in a natural way. We encountered similar problems in other class libraries as well as in application programs, written in a range of programming languages. In the paper, we present quantitative and qualitative results from our study. We argue that the difficulties we encountered affect programs in general. We present a solution that can treat such template-unfriendly cases of redundancies at the meta-level, complementing and extending the power of language features, such as templates, in areas of generic programming. Copyright 2005 ACM.
dc.sourceScopus
dc.subjectClones
dc.subjectMeta-programming
dc.subjectSoftware Maintenance
dc.typeConference Paper
dc.contributor.departmentCOMPUTER SCIENCE
dc.description.sourcetitleProceedings - 27th International Conference on Software Engineering, ICSE05
dc.description.page451-459
dc.identifier.isiutNOT_IN_WOS
Appears in Collections:Staff Publications

Show simple item record
Files in This Item:
There are no files associated with this item.

Google ScholarTM

Check


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.