Hi, I'm Eric.

I’m an avid world traveler, photographer, software developer, and digital storyteller.

I help implement the Content Authenticity Initiative at Adobe.

Search Results

Rust Is Beyond Object-Oriented, Part 3: Inheritance

Found on 8 December 2023 via Mastodon 472

via Rust Weekly 🦀 (@rust_discussions@mastodon.social): On inheritance and why it’s good Rust doesn’t have it

Jimmy Hartzell continues his series on why Rust is beyond object-oriented programming, tackling inheritance — the most problematic of OOP’s three pillars. He makes a compelling case that inheritance’s appeal is largely based on misleading textbook examples (shapes, animals) that have little to do with real-world programming, and explains why Rust deliberately omits it in favor of better composition patterns.

Rust Is Beyond Object-Oriented, Part 3: Inheritance :: The Coded Message

If you’ve enjoyed this …

Subscribe to my free and occasional (never more than weekly) e-mail newsletter with my latest travel and other stories:

Or follow me on one or more of the socials: