Polymorphism just goes over my head.
Programmer Humor
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.
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.
It's not that hard however I think it's absolutely useless and doesn't add any value to the code.
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!
Just "as any" everything until it runs. That's runs, not works.
GOOPs and CLOS exists in functional programming languages. Just saying.
Common Lisp isn't a functional programming language. Guile being based on Scheme is closer, but I'd still argue that opting into OOP is diverging from the essence of FP.