4 ms·
What a particular experience. Nowadays I can find a few isolated uses for "classes", but never, and I mean not a single situation where "OOP" (object ORIENTED
by mixedCase 4y ago
What a particular experience.
Nowadays I can find a few isolated uses for "classes", but never, and I mean not a single situation where "OOP" (object ORIENTED programming) could ever be preferrable to just using data and functions, whether that's strictly functional programming or plain old procedural.
Could you share more about where you believe OOP hierarchies offer an advantage?
- natly 4y agoGames
- mixedCase 4y agoECS is I believe most popular game architecture to achieve high performance and code maintainability, displacing OOP in most non-Godot games. And for Godot in particular, there's Godex which provides ECS for it and candidly beats default Godot OOP idioms by using a more functional approach.
- smabie 4y agoWriting UIs is a big one imo
- mixedCase 4y agoHow do you explain the industry-wide switch away from OOP frameworks to things like React and other Elm-architecture derived libraries? I personally have used a lot of UI libraries, and I would never willingly use anything object oriented again even before React clearly became "the thing". So this is a fairly suprising claim to me in 2022, not so much if it had occurred 10 years ago.