Polymorphism just goes over my head.
this post was submitted on 30 May 2024
385 points (94.5% liked)
Programmer Humor
32371 readers
566 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
It's not that hard however I think it's absolutely useless and doesn't add any value to the code.
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.
I learnt Caml in the 90s at university, I was completely lost, in Prolog too.
Why typescript? It allows you to make typesafe compositions
OOP was a mistake!