News for hackers. Stuff that matters.
Re:Ask HN: Data-Oriented programming vs. Functional programming by mcphage on Friday March 12, 2021 @08:13AM (#26435470)
What do you feel are the differences in how data is represented between the two?
Re:Ask HN: Data-Oriented programming vs. Functional programming by viebel on Friday March 12, 2021 @09:02AM (#26435890)
In both DOP and FP data is immutable. In FP, we tend to represent data with specific types while in DOP we represent data with generic data structures (e.g. maps and lists)