Object Oriented Programming (Introduction) - spc-computer-society/spc-cs-db GitHub Wiki

Introduction to Object-Oriented Programming (OOP)

1.Introducing OOP

When we look up what Object-Oriented Programming is, we often come upon things like:

Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which can contain data, in the form of fields (often known as attributes or properties), and code, in the form of procedures (often known as methods). A feature of objects is an object's procedures that can access and often modify the data fields of the object with which they are associated (objects have a notion of "this" or "self"). In OOP, computer programs are designed by making them out of objects that interact with one another.OOP languages are diverse, but the most popular ones are class-based, meaning that objects are instances of classes, which also determine their types. ---Wikipedia

That's a rather dense passage, and may be incomprehensible to people who do not know OOP is. To demystify what it is, let us try to explain it in simpler terms.

Object-Oriented Programming is a way of programming that relies on "objects", things that contain data and </link functions page here/>. Programs are (mostly) written in terms of classes, which are templates to make objects from.

In the next few wiki pages, I am going to explain what classes, objects are and other miscellaneous things about Object-Oriented Programming.