Object Oriented Programming Using Visual Basic 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 procedural code, which was characterized by global variables (variables that could be used at any time anywhere in your application), many modules that contained inter-dependencies, and long code passages that contained many “goto” statements that jumped all over the place (often referred to as “Spaghetti code”). 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