this post was submitted on 03 Jul 2023
5 points (100.0% liked)

Rust

6009 readers
2 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

I thought this was an interesting article, that might be of interest in this community since rust is one of the new languages that uses Composition over Inheritance.

TL; DR by the author:

This is a story about how I felt forced to give up inheritance and object-oriented programming, and still missed it for a very long time. And why now, half a decade later, I believe that inheritance is an inferior choice in most cases.

you are viewing a single comment's thread
view the rest of the comments
[–] Tyr3al@feddit.de 1 points 1 year ago

Good read. Thanks for sharing!