this post was submitted on 30 May 2024
391 points (94.5% liked)

Programmer Humor

32266 readers
59 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] nul9o9@lemmy.world 3 points 4 months ago (2 children)

Polymorphism just goes over my head.

[–] kionite231@lemmy.ca 1 points 4 months ago

It's not that hard however I think it's absolutely useless and doesn't add any value to the code.

[–] sparkle@lemm.ee 1 points 4 months ago* (last edited 4 months ago)

I like polymorphism. Having to have a hundred differently named functions or structs or something that do the same thing but slightly differently in Rust is annoying as hell. Especially with all the underscores you have to type... If Rust were more functional though it'd make that problem go away pretty quickly.