Structured Programming Vs Object-Oriented Programming – OOP

Last Updated on by ICT Byte

Structured Programming Object Oriented Programming
Focuses on process/ logical structure and then data required for that process.Focuses on data.
Difficult to modify and reuseEasy to modify and reuse code
Also known as Modular Programming and a subset of procedural programming language.Supports inheritance, encapsulation, abstractionpolymorphism, etc.
Programs are divided into small self-contained functions.Programs are divided into small entities called objects.
Less secure as there is no way of data hiding.More secure as having data hiding feature.
Can solve moderately complex programs.Can solve any complex programs.
Provides less reusability, more function dependency.Provides more reusability, less function dependency.
Less abstraction and less flexibility.More abstraction and more flexibility.

More From Author

References and Primitive Data Types

How to create an object from Class?