News for hackers. Stuff that matters.
Re:Ask HN: Data-Oriented programming vs. Functional programming by django77 on Friday March 12, 2021 @07:46AM (#26435211)
I don't think FP has anything to do with how data is represented, it's more related to how we operate on that data.
Re:Ask HN: Data-Oriented programming vs. Functional programming by viebel on Friday March 12, 2021 @09:01AM (#26435877)
DOP and FP share common insights about separation between code and data and constraining ourselves to immutable data.

The main difference between DOP and FP is that in DOP we use generic data structures to represent data (e.g. maps and lists)