Rust Is Beyond OOP

42 points thecodedmessage

https://www.thecodedmessage.com/posts/oop-1-encapsulation/ is my first post in a series where I try to explain how Rust diverges from principles of the object-oriented programming paradigm and why this is a good thing, actually. Follow-up posts are coming soon about polymorphism and inheritance. Especially the polymorphism post will probably prove a lot more complicated, but I'm starting small.