369
codeStyle (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] hansl@lemmy.world 0 points 6 months ago

People who learnt structural OOP without actually understanding typing system and their benefits really struggle with learning Rist as they try to map classes onto structs and it just doesn’t work.

Traits are not inheritance. Box is not polymorphism. Rust is not C++ with more keywords.

this post was submitted on 01 Mar 2024
369 points (93.2% liked)

Programmer Humor

32054 readers
1687 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS