What is Object Oriented Programming?

Web Development Jargons Explained in 4 Different Ways

TLDR: Object Oriented Programming, or OOP, is a design pattern for writing computer programs. OOP uses Classes and Objects to separate and modularise programs that manage different domains. Such as a module for handling the wind shields, or a module that handles the air conditioning system, for a car.


Explain like I only speak in plain English

Object Oriented Programming, or OOP, is a design pattern for writing computer programs. OOP uses Classes and Objects to separate and modularise programs that manage different domains. Such as a module for handling the wind shields, or a module that handles the air conditioning system, for a car.

The advantage of Object Oriented Programming is that much of the complexity is hidden in the objects. Programmers only need to worry about how to use them, instead of understanding how they work.

Explain like I'm a total nerd

Many programming languages are OOP. Such as Ruby, C++, Python. JavaScript belongs to a subset of OOP called Prototypical Programming.

The most important concept to understand about OOP is inheritance. Classes can inherit other Classes, called Super Class, properties of a Super Class is passed down to a Sub Class through inheritance. You can create multi level inheritance structure.

As an example, the Sub Class Shiba Inu inherits from the Dog Class, which inherits from the Animal Class.

class_inheritance.jpg

Explain like I like videos

Explain like I already know it

OOP can be painful to write in certain languages, where there are many rules and restrictions to follow. But the other side of that is your code is less likely to break during run time. Since much of the basic errors are caught by convention.

We are trusted by

Students and instructors from world-class organizations

Imperial College London
Carnegie Mellon University
City University of Hong Kong
Hack Reactor
Cisco Meraki
University of Oxford
Swift
Bazaarvoice
Waterloo
Uber
AtlanTech
Tumblr
Boston College
Bombardier Aerospace
University of St. Andrews
New York University
Minerva Schools at KGI
Merrill Lynch
Riot Games
JP Morgan
Morgan Stanley
Advanced Placement®
Google
KPMG
The University of Hong Kong
University of Toronto
SCMP
Moat
Zynga
Hello Toby
Deloitte
Goldman Sachs
Yahoo
HSBC
General Assembly
Tesla
McGill University
Microsoft

Join the upcoming Cohort #72

Enroll for December 5th, 2022