2 ms·
The book is incomplete. Porting an inheritance model to Rust is ... interesting. You can emulate it with some macros, but usually you should redesign the idiom
by Manishearth 10y ago
The book is incomplete.
Porting an inheritance model to Rust is ... interesting. You can emulate it with some macros, but usually you should redesign the idioms used based on the exact use.
- shmerl 10y agoYes, I'm not talking about porting things 1:1. I'm talking about explaining OOP approach that Rust suggests, and may be examples of how this methodology can be applied to solve issues like code reuse, that C++ at times solves with inheritance and etc.