Hacker News new | past | comments | ask | show | jobs | submit login

> 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). A "class" is also an implementation of abstract data type (from this book 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.




Applications are open for YC Winter 2020

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: