You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the book Rust can be thought of both OOP and not OOP. I would argue Rust supports OOP, except instead of inheritance (which has it's own disadvantages, for example it's easy to create tightly coupled type hierarchies that are hard to maintain and extend), Rust supports composition. I think this lesson could use some clarification in some way.
The text was updated successfully, but these errors were encountered:
tour_of_rust/lessons/en/chapter_7.yaml
Line 29 in 84568bf
According to the book Rust can be thought of both OOP and not OOP. I would argue Rust supports OOP, except instead of inheritance (which has it's own disadvantages, for example it's easy to create tightly coupled type hierarchies that are hard to maintain and extend), Rust supports composition. I think this lesson could use some clarification in some way.
The text was updated successfully, but these errors were encountered: