|
|
|
|
|
by ilovecaching
2806 days ago
|
|
How so? I believe I was addressing the fundamentals of OOP: Classes, methods, inheritance, overloading, visibility, etc. Also, Rust, while allowing the assigning of behavior to a type, is explicitly not OOP. Check it's Wikipedia page (which doesn't include OOP in the list of paradigms) and the O'Reilly book (which says Rust isn't OOP). |
|
https://doc.rust-lang.org/book/second-edition/ch17-00-oop.ht...
Personally, I think the idea that code isn't OOP just because you don't use inheritance to be utterly ridiculous.