How can be data oriented programming applied for GUI system?
- by Miro
I've just learned basics of Data oriented programming design, but I'm not very familiar with that yet. I've also read
Pitfalls of Object Oriented Programming GCAP 09. It seems that data oriented programming is much better idea for games, than OOP.
I'm just creating my own GUI system and it's completely OOP. I'm thinking if is data oriented programming design applicable for structured things like GUI.
The main problem I see is that every type widget has different data, so I can hardly group them into arrays. Also every type of widget renders differently so I still need to call virtual functions.