Re:All Programming Philosophies Are About State
by seanhunter on Wednesday February 08, 2023 @12:53AM
(#34704639)
Not really. For example ocaml allows oop in a functional programming language.
OOP is about encapsulation of data and algorithms which deal with that data in logical units (objects) and allowing certain operations eg inheritance, polymorphism (sometimes) etc over those objects. It can be declarative or imperative.
OOP is about encapsulation of data and algorithms which deal with that data in logical units (objects) and allowing certain operations eg inheritance, polymorphism (sometimes) etc over those objects. It can be declarative or imperative.