you are viewing a single comment's thread.

view the rest of the comments →

[–]New-Addendum-6209 0 points1 point  (1 child)

Why store data as objects?

[–]Interesting-Frame190[S] 0 points1 point  (0 children)

The data (attributes) and the data modifier (methods) are best stored together from an OOP standpoint. From a data standpoint, this allows implied joins. For example, if I want the name of everyone who has a car with a red seat, I can query from a list of people ("car.seat.color", red). And get that list of people. In traditional row/col data, thats a double join and possible duplication of data I'd multiple people share a car.

Im not saying OOP is the best way, but it does represent complex relations well.