DEV Community

Discussion on: Rust: Initial thoughts

Collapse
 
hb profile image
Henry Boisdequin

That's very true! I especially noticed that Rust is more a functional programming language than an object-oriented one. This really popped out because Rust has no classes. I also think that Rust has a very sophisticated type system and many more powerful features (macros, traits, etc). Thanks for reading!

Collapse
 
leob profile image
leob

Correct! Rust has no (or very limited) support for "classical OO", like class-based inheritance, but support for functional programming is extensive, even though Rust is not a "pure" FP language.

Rust does have interfaces and traits and so on, but doing conventional class/inheritance based OO programming (like you'd do in Java) is not a natural idiom in Rust - an experienced Rust programmer would generally prefer other approaches.

Thread Thread
 
hb profile image
Henry Boisdequin

Exactly!