4 ms·
The point I'm trying to make is that OO design principles are one thing, how these are implemented by various systems or languages is quite another. OOP does n
by mytailorisrich 5y ago
The point I'm trying to make is that OO design principles are one thing, how these are implemented by various systems or languages is quite another.
OOP does not kill cache locality for the simple reason that these are orthogonal concepts.
> split the data according to functions that use it not according to metaphysical Classes where it belongs
Well, of course and as mentioned, picking the best model, and thus the best object representation, for the job is paramount. I read "split the data according to functions that use it" as "come up with objects that make the most sense for what you're trying to achieve", not "forget about OO design".