DEV Community

Discussion on: Rust: Initial thoughts

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!