And since it's not 100% of any of those, some of the approaches that work with one of those paradigms don't work for Rust. For OOP the major difference is probably in inheritance. I suggest reading the second Rust koan to get some insight into the rationale for this difference.
TomP
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
I am a Rustacean
|
22 | 2097 | August 28, 2020 | |
| Why don't we call Rust Behavior-Oriented Programming | 19 | 4343 | February 11, 2020 | |
| What does "Rust & OOP" mean to you? | 34 | 14554 | March 8, 2017 | |
|
Add support for classical OOP in Rust
|
74 | 6339 | June 11, 2024 | |
| Rust best practices | 8 | 11259 | April 4, 2020 |