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

Programmer Humor

32266 readers
60 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) 47 comments
sorted by: hot top controversial new old
[–] nul9o9@lemmy.world 3 points 4 months ago (2 children)

Polymorphism just goes over my head.

[–] 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.

[–] 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.

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

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

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

Why typescript? It allows you to make typesafe compositions

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

OOP was a mistake!

[–] seth@lemmy.world 1 points 4 months ago

Just "as any" everything until it runs. That's runs, not works.

[–] velox_vulnus@lemmy.ml 0 points 4 months ago (1 children)

GOOPs and CLOS exists in functional programming languages. Just saying.

[–] expr@programming.dev 1 points 4 months ago

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.

load more comments
view more: ‹ prev next ›