|
|
|
|
|
by eeeeaaii
5084 days ago
|
|
Maybe oversimplified, but, these being the 5 programming paradigms listed in Wikipedia: Aspect-oriented (? not an expert on this) Imperative/procedural (most work is done by statements) Functional (most work is done by functions) Logic (most work is done by declarations) Object Oriented (most work is done by objects) |
|
Objects don't do work - methods do. Objects organize state.
Methods are functions with implicit state that may be shared with other methods. These functions may be functional (as in Actors) or imperative.
Objects help organize state.
You can "OOP" in any language; it doesn't actually require any language-level constructs. (Yup, you can do OOP in assembly language, Fortran 66, etc.)