3.14 Libraries

Library Definition A collection of procedures that are often related
API Definition Specifications for how procedures in a library behave and can be used

Programmers use an API to access a library. APIs are what a programmer can see and interact with, while a library is everything underneath the API that cannot be seen.

Documentation for an API/library allows programmers to better understand the behaviors and use of the contained procedures.

APIs and libraries simplify creating complex programs through modularity (3.13).

Go Back