4 ms·
>The ability to structure your data and the operations on that data together in place is incredibly powerful. Agreed. In a lot of cases if you don't have objec
by discreteevent 8y ago
>The ability to structure your data and the operations on that data together in place is incredibly powerful.
Agreed. In a lot of cases if you don't have objects (the good parts) you are doomed to reinvent them:
https://www.cs.cmu.edu/~aldrich/papers/objects-essay.pdf https://www.cs.cmu.edu/~aldrich/papers/objects-essay.pdf
"Linux uses service abstractions in order to support multiple file systems. There are vtable-like structures
such as file operations that are used to dispatch
operations such as read to the code that implements
file reading in a particular driver."
- blarg1 8y agoI don't really see a problem with reinventing things when you need them. Classes etc are just syntactic sugar on top of functions and structs.