Please enable JavaScript.
Coggle requires JavaScript to display documents.
Object-Orientated Programming - Coggle Diagram
Object-Orientated Programming
What is it?
A focus on the objects that make up a system
an object is anything we can name and describe.
I.e Students
I.e Teachers
I.e Clasroom
'an entity that encapsulates both data and behaviour'
Objects are quirky and cool no?
formatting place holder blank spaceness
Comparing OOP and Procedural Approaches
Both Programming Paradigms
Support different ways of solving the same problem
Procedural
Problem divided into smaller parts name procedures
Systems Built By combining Procedures
OOP
Problem divided into smaller parts named objects
Systems built around the objects
Classes
What are they?
Classes are essentially a blueprint that other items inherit it from
Imagine a cookie cutter, yeah kinda like that
insert some other interesting fact about them here
Why are they?
Classes save allot of time during coding
Instead of needing to type out "Print("etc")" you can run an object through a class
They also look very fancy and we appreciate the hard work they do
What's the deal with airline food?