© Andrew T. Shvets 2020
A. T. ShvetsBeginning Ada Programminghttps://doi.org/10.1007/978-1-4842-5428-8_10

10. Data Containers

Andrew T. Shvets1 
(1)
Providence, RI, USA
 

What You Will Get Out of This Chapter

Let’s say you are planning a wedding. You plan on inviting at least 100 people. This is something that will not be easy to implement using an array. Some guests will not come, others might ask if they can bring their aunt Annie. You need a solution that can change as your needs change. This is where data containers come into play.

Data containers are a very powerful concept. The central idea is that you do not know in advance how many units of anything you have; you might have a rough estimate, but nothing precise. Data containers will allow you ...

Get Beginning Ada Programming: From Novice to Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.