For example, if we consider a car, it has engine, battery, mirrors, seats and other parts. An object is considered as consists of attributes and behavior. A car can be driven, parked and serviced etc. Hence an object consists of both data and behavior. The basic difference between procedural language and Object-oriented language is this both. To be more specific, in procedural language, we need to write code for each and every line of action. However, in OO language, we can clear objects such as classes …show more content…
In procedural programming language, the data is separated from procedures and sometimes the data is global, hence it is easy to modify the data that is outside the scope of a procedure. Also, it become difficult to control the access to the data and it 's sometimes unpredictable. And another issue is that because it hard to control or find which function is accessing the data and it’s also difficult to debug and test the program. However, objects address these problems by combining data and behavior into a nice and complete …show more content…
These speculations are recognized by Dahl and have motivated him in designing SIMULA, the runtime structures of Algol 60 already contained the simulation mechanisms and it’s been recognized by Nygaard and Dahl that it is the runtime behavior of a simulation program that models the real world and not the program’s text. There is similar recognition of the value of dynamism in Agile software development, a methodology in which a program is developed in small increments in a close consultation with the customer. In Agile software development, a small piece of code is written in first week and runs it. Every week, a new functionality is added to the initial code, under the guidance of the customers to determine which functionality will have the greatest value. Extensive test suites are added to make sure that newly added functionality works fine while adding new functionalities. In this methodology, agile programmers don’t start at the beginning of software creation process but they design every day so that the program is continuously re-designed as the programmers learn from the code and for the behavior of the running