3 ms·
I think that for game dev OOP is a better abstraction than FP. One of the great things about FP and Clojure in particular was that it showed me how you can cle
by rubber_duck 10y ago
I think that for game dev OOP is a better abstraction than FP.
One of the great things about FP and Clojure in particular was that it showed me how you can cleanly separates values, identity and memory addresses.
But in games you're often dealing with memory directly anyway and don't want to abstract that away. And abstracting identity from address doesn't buy you much because you're always running in shared memory space unlike distributed systems where it suddenly makes a lot of stuff transparent.