by agentultra · 11y ago · 0 comments
Sounds a lot like selection bias.
Even in games there is a growing movement to stop the OOP paradigm and focus on data-oriented or "data flow".
It's hard to know whether there are universally-applicable truths in a given paradigm... but it's rather nice to have the option. Flow-based tools are becoming popular in procedural content generation, have been in audio/music/dsp for some time, and are probably quite useful in other sort of "pipeline" analogies.
But certainly past experience will play a large role in determining which tools you think are applicable to a given problem.
I'm talking about people who actually try new tools and reject them as useful to their problem domains; I try a lot of new tools, and some fit with the problems I solve better than others.
I didn't quite remember what "data oriented meant," but a quick search brought up this article [1] on using data-driven design in games. It brings up some important points, but really the point of data flow design seems to be optimization and efficiency rather than making it easier to write the code.
And I'm all for that, and I thank you for making me look that up since I will likely use that idea, but I'll keep my text editor for most of the game development I do going forward. Except maybe the particle systems, which as the article below points out, are typically already data oriented, and have had good data-flow-based tools for years. ;)
The data-oriented design thing is interesting and something I've heard come and go over the years. Check out:
http://www.dataorienteddesign.com/dodmain/
and
https://www.youtube.com/watch?v=ZHqFrNyLlpA
A video demonstration of Jai; a new compiler from Jonathan Blow designed around this paradigm.
Cheers!
Love the links. Listening to Blow talk now. Will look at the longer book later.