Designing with Objects
This chapter begins with a very brief description of procedural programming (C‐style), followed by a detailed discussion of object‐oriented programming (OOP). It then discusses the different kinds of relationships between objects, including pitfalls programmers often succumb to when building an obje...
Saved in:
| Published in: | Professional C++ pp. 1 - 2 |
|---|---|
| Main Author: | |
| Format: | Book Chapter |
| Language: | English |
| Published: |
Hoboken, New Jersey
John Wiley & Sons
2018
John Wiley & Sons, Inc |
| Edition: | 4th Edition |
| Subjects: | |
| ISBN: | 1119421306, 9781119421306 |
| Online Access: | Get full text |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| Summary: | This chapter begins with a very brief description of procedural programming (C‐style), followed by a detailed discussion of object‐oriented programming (OOP). It then discusses the different kinds of relationships between objects, including pitfalls programmers often succumb to when building an object‐oriented program. When thinking about procedural programming or object‐oriented programming, the most important point to remember is that they just represent different ways of reasoning about what is going on in the program. Too often, programmers get bogged down in the syntax and jargon of OOP before they adequately understand what an object is. The chapter lights on C++ code, concepts and ideas. It also describes how the principle of abstraction relates to objects. There are two major approaches to developing software with objects. To some people, objects simply represent a nice encapsulation of data and functionality. Other programmers adopt the OOP paradigm fully and turn everything into an object. |
|---|---|
| ISBN: | 1119421306 9781119421306 |
| DOI: | 10.1002/9781119421276.ch5 |

