OBJECT-ORIENTED PROGRAMMING – A GENERAL INTRODUCTION
OBJECT-ORIENTED PROGRAMMING –
As all of us know, OBJECT-ORIENTED PROGRAMMING or “OOP” drove the creation of C++. Therefore, it becomes necessary for all of us to understand its foundational principles.
Object-oriented programming is a powerful way to approach the job of programming. Furthermore, we all know that the programming methodologies have been changing dramatically since the Invention of computer. Primarily, the reason of the change was to accomodate the increasing complexity of programs.
DEVELOPMENT OF PROGRAMMING DURING THE YEARS –
For example, during the Invention of computers in earlier times.. Programmers did programming by toggling in the binary machine instructions using the computer’s front panel. This approach was successful until the programs length was just a few hundred instructions long..
Furthermore, as programs kept on growing.. The Invention of Assembly Language took place so that the programmers could deal with larger, increasingly complex programs. And also using symbolic representations of the machine instructions.
Now, as the programs kept on growing.. The Invention of High level languages took place. These gave the programmers more tools with which to handle complexity with ease. The first widespread Language was, FORTRAN (Formula Translation). Although, FORTRAN was a very magnificent first step, it’s hardly a Language that encourages clear, easy-to-undersrand programs.
Furthermore, the 1960s gave birth to Structured Programming. This is the method which languages such as C and PASCAL encourages. The use of this programming language made it possible to write moderately Complex programs with an ease. This Language characterizes by its support for Stand-alone sub-routines, local variables, rich control constructs, and its lack-of-reliance upon GOTO. Though these languages are a powerful tool, but they reach their limit when when a project becomes too large.
Certainly, we can consider that at every milestone in the development of programming.. The creation of techniques and tools were to allow the programmers to deal with increasingly greater complexity. In each step of the way.. The new approach tool the best elements of the previous methods and kept on moving forward…
Furthermore, prior to the Invention of Object-oriented programming.. Many of the projects were exceeding the point whee the structured approach no longer was in work.