• DocumentCode
    1437574
  • Title

    The effect of data abstraction on loop programming techniques

  • Author

    Bishop, J.M.

  • Author_Institution
    Dept. of Electron. & Comput. Sci., Southampton Univ.
  • Volume
    16
  • Issue
    4
  • fYear
    1990
  • fDate
    4/1/1990 12:00:00 AM
  • Firstpage
    389
  • Lastpage
    402
  • Abstract
    It is shown how loop algorithms can be encompassed in an iterator and then activated for any data type for which a generator can be defined. It takes the iterator-generator idea a step further than previous work in that it permits variations of the iterators to be defined dynamically through the use of selectors and actors, without loss of efficiency or clarity. It is further shown that selectors can be employed in the definition of a truly generic sorting routine. Guidelines for the decomposition of a system into generic data types, abstract data types, iterators, generators, and the programs that exercise them are given, and several complete programs show the implementation of the techniques in Ada
  • Keywords
    data structures; software engineering; Ada; abstract data types; data abstraction; generators; generic data types; generic sorting routine; iterator; loop algorithms; loop programming techniques; Computer science; Packaging; Proposals;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/32.54291
  • Filename
    54291