Re:The data-oriented design process for game development
by jcelerier on Friday May 27, 2022 @08:26AM
(#31528753)
> Why not just write it as SoA to begin with?
To give my personal reason: I have absolutely never managed to find SoA style code readable at all aha
> folks will understand things better if they have to type it themselves
I guess it comes down to if you work in a top-down or bottom-up way to create an understanding of a codebase. Generally, I start by looking at the class names to get a general idea of the architecture and make some mental diagrams of it, and then I zoom in to the level of detail needed. I know other people work better by reading individual functions and working upward from there but it's definitely not my case.
To give my personal reason: I have absolutely never managed to find SoA style code readable at all aha
> folks will understand things better if they have to type it themselves
I guess it comes down to if you work in a top-down or bottom-up way to create an understanding of a codebase. Generally, I start by looking at the class names to get a general idea of the architecture and make some mental diagrams of it, and then I zoom in to the level of detail needed. I know other people work better by reading individual functions and working upward from there but it's definitely not my case.