DEV Community

Discussion on: 🦀 Rust Reviewed: Is the hype justified? 🦀

Collapse
 
somedood profile image
Basti Ortiz • Edited

Yes, it does! But not in the pedantic sense, of course. I still see the value in traditional object-oriented code. Rust is just there to nudge me in the right direction when I attempt to get too clever for my own good.

Overall, what resonates with me the most is the fact that Rust effectively synergizes functional-style code and object-oriented code. It forms a "yin and yang" of sorts between immutability and mutability. This is unlike many languages where the paradigms are set in stone. For instance, Java is notoriously object-oriented while Haskell is confusingly functional. Rust just seems to strike a good—if not perfect—balance, you know?