Ada Idioms
Warning
This version of the website contains UNPUBLISHED contents. Please do not share it externally!
This course describes how to implement selected programming idioms in the Ada language. Prior knowledge of Ada is required, although some explanations of the underlying semantics are provided when appropriate.
This document was written by Patrick Rogers.
Note
The code examples in this course use an 80-column limit, which is a typical limit for Ada code. Note that, on devices with a small screen size, some code examples might be difficult to read.
- Introduction
- Essential Design Idioms for Packages
- Abstract Data Types
- Abstract Data Machines
- Programming by Extension
- Constructor Functions For Abstract Data Types
- Controlling Object Initialization and Creation
- Type Punning
- Expressing Inheritance Idioms
- Providing Component Access to Enclosing Record Objects
- Interrupt Handling
- Reducing Object Code from Generic Package Instantiations
- Appendices