Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust and OOP #292

Open
bugadani opened this issue Aug 12, 2020 · 0 comments
Open

Rust and OOP #292

bugadani opened this issue Aug 12, 2020 · 0 comments

Comments

@bugadani
Copy link
Contributor

bugadani commented Aug 12, 2020

- title: Rust Is Not OOP

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant