Abstract
This chapter will introduce the basic concepts of encapsulating your code into containers that can be used later. Think about it; if you wrote a sorting algorithm that would be able to organize a bunch of values from largest to smallest, you would need to repeat the entire algorithm elsewhere if you wanted to use it in other parts of the application. This does not make any sense. Furthermore, if you have a bug in your algorithm, you would need to go over every single copy of it and fix it. What a waste of time!
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Andrew T. Shvets
About this chapter
Cite this chapter
Shvets, A.T. (2020). Procedures and Functions. In: Beginning Ada Programming. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5428-8_4
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5428-8_4
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5427-1
Online ISBN: 978-1-4842-5428-8
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books