1,012 B
1,012 B
Object Oriented Programming
Also known by its acronym OOP (POO in Spanish for Programación Orientada a Objectos) is a programming paradigm.
OOP is split between two "schools" of design: Simula-style OOP and Smalltalk-style OOP.
TODO
Simula-style OOP
Most popular languages that have OOP have it in the Simula form. Some of these languages are:
- C++
- Java
- JavaScript
- Python
- ...
Smalltalk-style OOP (message passing)
In Smalltalk-style OOP, objects communicate with each other by means of message passing. This allows for greater dynamism, something that on Simula-style OOP can be archived with virtual methods.
Some languages based on or inspired by Smalltalk-style OOP are:
- Objective-C: some C-Smalltalk chimera; similar to C++ but using message passing instead of method calling.
- Common Lisp's CLOS
- Python: but more like in a conceptual way, as in making everything an object.
- ...