4 ms·
> Object-oriented programming 101 assumes that all your objects are in memory, in a graph, Yes. We insist on using this OOP style where your objects are Person
by huherto 9y ago
> Object-oriented programming 101 assumes that all your objects are in memory, in a graph,
Yes. We insist on using this OOP style where your objects are Person, Order, Invoice, etc. Ignoring that the data is stored in tables.
But, it may not be the only way. What if your objects really are things like Tables, Records and Relationships. (e.g PersonTable, OrderTable, OrderDetailTable, etc) and your operations are whatever you can do with these tables. We are trying to abstract away something that is very real. What if we embrace it instead ?