Introduction to OOP: Chapter 1: Thinking Object-Oriented: [next] [previous] [audio] [real] [text]

Procedures and Functions

Libraries of procedures and functions (such as mathematical or input/output libraries) provided the first hints of information hiding.

They permit the programmer to think about operations in high level terms, concentrating on what is being done, not how it is being performed.

But they are not an entirely effective mechanism of information hiding.

Intro OOP, Chapter 1, Slide 34

Procedures and Functions started to appear in programming languages in the 1950's. Some credit Grace Murry Hopper with the discovery of the procedure.