Object Oriented Programming Using C# 2005
This chapter accompanies video 6, “Object Oriented Programming Fundamentals”.
Object Oriented Programming seeks to reduce the complexity of creating large applications by breaking the application down into smaller, manageable classes of code. Each class represents an idea, whether tangible and concrete (such as a Product or Employee) or conceptual (such as Inventory or Order).
In the past, most programmers wrote their programs in a coding style called Procedural Programming. As programmers used this style (or philosophy) of how to structure entire applications, its flaws become more glaring. One problem with procedural programming was the over-use of global variables (variables that could be used at any time anywhere in your application). Also, this style lent itself to coding practices that made the code hard to read and debug, and hard to maintain over a number of years. While procedural code is not inherently evil, carelessness caused problems as developers tried to fix bugs … changing a single line of code would have major devastating consequences in other parts of the application because the entire application was so interdependent. To make changes, programmers had to re-write entire applications because it was less work than trying to untangle the mess of code that they were left with.
Object Oriented Analysis, Design and Programming sought to improve on the entire software development process by taking a simplified approach to application design that more closely resembled everyday life.
You won't get very far in modern software development before hearing about Object Oriented Programming. It’s also known as “OO” for Object Oriented, and the purpose of OO programming is to reduce the complexity involved with writing and maintaining applications.
Supplemental Readings for the Express Edition Videos Copyright © 2005 LearnVisualStudio.NET