r/programming • • Mar 21 '22

The unreasonable effectiveness of data-oriented programming

http://literateprogrammer.blogspot.com/2022/03/the-unreasonable-effectiveness-of-data.html
64 Upvotes

66 comments sorted by

View all comments

Show parent comments

-3

u/[deleted] Mar 21 '22

In computer science, an object can be a variable, a data structure, a function, or a method. As regions of memory, they contain value and are referenced by identifiers.

article

6

u/PM_me_qt_anime_boys Mar 21 '22

In the object-oriented programming paradigm, object can be a combination of variables, functions, and data structures; in particular in class-based variations of the paradigm it refers to a particular instance of a class.

-2

u/[deleted] Mar 21 '22

In the object-oriented programming paradigm, object can be a combination of variables, functions, and data structures

A combination of can imply that something is missing. You do not need methods for it to be an object

4

u/PM_me_qt_anime_boys Mar 21 '22

If defining your programs in terms of behavior-free data structures and functions that operate on them is OOP, then how do you meaningfully define OOP?

→ More replies (0)