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:

founded 5 years ago
MODERATORS
 
(page 2) 46 comments
sorted by: hot top controversial new old
[–] nul9o9@lemmy.world 3 points 5 months ago (2 children)

Polymorphism just goes over my head.

[–] kionite231@lemmy.ca 1 points 5 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 5 months ago* (last edited 5 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.

[–] Magister@lemmy.world 3 points 5 months ago

I learnt Caml in the 90s at university, I was completely lost, in Prolog too.

[–] aluminium@lemmy.world 2 points 5 months ago

Why typescript? It allows you to make typesafe compositions

[–] Dirk@lemmy.ml 1 points 5 months ago

OOP was a mistake!

load more comments
view more: ‹ prev next ›