A procedural paradigm implies using variables to keep the state of a program and procedures define how the state changes.
An object-oriented paradigm means that the program is an aggregate of objects. Each object belongs to a certain class, classes form what is called inheritance.
An event-driven paradigm means that the program is executed by events (a mouse click, incoming network packet)
The process of development of a complex application may include all these paradigms. The OOP helps when a large team works on a project, it is easier in refactoring.
Comments
Thanks
Leave a comment