|
A helpful way to think of objects is as digital building blocks. Consider a spreadsheet software like Excel. As users, we can discern the differences among a workbook, a worksheet, and a cell. A workbook holds worksheets, a worksheet holds
cells, and cells hold values. We view these three entities as three distinct containers
of business logic, each with a designated responsibility, and we interact with them
in different ways. When building object-oriented computer programs, developers
think in the same manner, identifying and building the “blocks” that need to exist
for a program to run.
|