3 ms·
> It sounds like one issue is the conflation of Object and Data Structure. Do you mind expanding on this a little bit? I am very confused. A "data structure" i
by wbkang 9y ago
> It sounds like one issue is the conflation of Object and Data Structure.
Do you mind expanding on this a little bit? I am very confused. A "data structure" is an implementation of an abstract data type (https://en.wikipedia.org/wiki/Data_structure https://en.wikipedia.org/wiki/Data_structure). A "class" is also an implementation of abstract data type (from this book https://www.amazon.ca/Object-Oriented-Software-Construction-Book-CD-ROM/dp/0136291554 https://www.amazon.ca/Object-Oriented-Software-Construction-... page 165).
I am not sure how you can have a data structure Book without any operations. Even if it were a C struct, accessing a field would consist an operation around that data structure.