This paper describes the results of a study to investigate alternative techniques for using private types and packages to limit visibility of declarative items in Ada. Shortfalls of the conventional technique of applying private types, with regard to issues of recompilation, source code integrity.limiting visibility. performance. support of debugging, and interrelating abstractions, are identified.Possibly other developers of large Ada systems have encountered these issues; an analysis of over two million lines of Ada software developled for the Army, Navy, and Air Force shows that private types are rarely used. This paper describes a series of unconventional techniques for using private types and packages to layer more abstract packages on top of less abstract packages, and to develop multiple views of abstract data types applicable to different t:lasses of users. The promising techniques were applied on an actual software engineering problem, the development of a tree-builder component of an Ada-to-DIANA translator.A description of experiences, in which the techniques realized benefits for changing and debugging the software and for improving reliability, is provided.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
hi@scite.ai
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.