What is Object Oriented Programming (OOP) ?

Words
172
Reading
1 min
Listen
Play
5y

Object Oriented Programming Or OOP is a method of programming where data and functions are organized and encapsulated in an object. An object is something that can represent anything you see in the computer monitor like the buttons, text or icons etc. Object represents anything in real world like a car, a dog, a desk or a pencil. Object in real world has characteristics or attributes like color, height, width and have behavior like barking and running in dogs. Object in programming has methods which represents the behavior and the properties which represents the attributes. Based from my experience it is a lot easier to program using objects than doing a pure functional programming. It is easier to visualize and organize, codes are reusable and it is easy to scale. Thus, modern programming uses object oriented programming. There's a lot more about it but just want to over simplify it for beginners to understand. Hopefully, it helps. If you have question feel free to comment it out. Until next time - MJ008

What is Object Oriented Programming (OOP) ? | Ecency