3 ms·
I consider anything that binds data to methods and has a concept of "data.method()" to be OO. In the OO religion I'm an ecumenicist. And even within my ecumeni
by jerf 9y ago
I consider anything that binds data to methods and has a concept of "data.method()" to be OO. In the OO religion I'm an ecumenicist.
And even within my ecumenicalism, I consider inheritance in the strictly C++/Java sense of relatively little importance, and dropping. Rather than being essential, it turns out to have been accidental, and also arguably a mistake, even on purely OO grounds.
- leshow 9y agoThat's a silly distinction. It's also wrong. Rust 'binds data to methods and has a concept of "data.method()"' and is not OO by any meaningful definition. It's simply sugar for Trait::method(&data).