3 ms·
In the wild, the meaning of class ranges from whatever it means in the bowels of theoretical OOP, to a struct that has thing.method() invocation syntax. I'd wag
by hombre_fatal 7y ago
In the wild, the meaning of class ranges from whatever it means in the bowels of theoretical OOP, to a struct that has thing.method() invocation syntax. I'd wager about 99% of people don't get more academic about what classes are beyond the latter definition since it's the only way in their language to create a group of state and then associate some methods with it, which is exactly what Rust has.
- steveklabnik 7y agoI think in the general case, you are absolutely correct. In a sub-thread comparing language features of two languages to each other to compare their overall complexity, I think it pays to be precise.