Suppose, you have planned to join a big software development team where multiple programmers are working. Object Oriented Programming style is preferable in this project from you. There are very simple difference between structured programming and object oriented programming.
In structured programming style, the software have some functions to call for different purposes multiple times. In object oriented programming style, the software also have some functions those are grouped by some objects to call multiple time for different purposes.
For smaller software with few functions, structured programming is the best for development. It will reduce lines of code and processing time. But for bigger project with multiple programmers and huge number of functions, object oriented programming is must.
Same function name mustn't be exist in a same software if it is developed in structured programming way. Programmers have to make sure that the newer function is added with a completely unique name. Repeat of same function name could make the software completely malfunctioned. But in object oriented style of programming, programmers have to make sure that the added new object name is unique for the software, and he have to make sure that the name of a function in a object is unique at it's parent object only. He can repeat the same name of function in different objects.
No comments:
Post a Comment