2 ms·
>I think this happens because of atomistic, object-orientated thinking. If you think storing a list of date tuples is "OOP thinking", you have no clue what OOP
by gambler 6y ago
>I think this happens because of atomistic, object-orientated thinking.
If you think storing a list of date tuples is "OOP thinking", you have no clue what OOP really is. Educate yourself by listening to people who invented it, not Java consultants or FP zealots.
OOP is about interacting with things via interfaces and messages, rather than data. An OOP solution to inconsistencies of this sort would be an interface that either automatically corrects inconsistencies or throws errors when you try to introduce them. The whole point of OOP approach is that you're not locked into a single data representation, so, for example, you can improve how you store data without re-engineering everything in your system that relies on that data.