this post was submitted on 12 Dec 2023
257 points (97.1% liked)

Programmer Humor

19572 readers
1418 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
top 8 comments
sorted by: hot top controversial new old
[–] baseless_discourse@mander.xyz 46 points 11 months ago (1 children)

Every monad is a monoid in the category of endofunctors, it is literally the definition of monad. But what do you expect from clippy...

[–] umbraroze@kbin.social 25 points 11 months ago (1 children)

Yeah, the thing is, "a monad is a monoid in the category of endofunctors" is kind of a meme among non-Haskell developers. Personally, I think Haskell is a very interesting language. The mathematical jargon, however, is impenetrable, and this particular expression is kind of the poster child. I'mma go look at Erlang if I want my functional language fix without making my head hurt, thank ye very much.

[–] synae@lemmy.sdf.org 12 points 11 months ago (1 children)

Erlang fucks, haskell is the nerd in the corner at the party crying "they don't know about my mathematical purity"

[–] pkill@programming.dev 5 points 11 months ago (1 children)

Haskell's got better type system tho

[–] 1rre@discuss.tchncs.de 5 points 11 months ago

OCaml has an equally good type system without being pretentious about it

[–] cabhan@discuss.tchncs.de 29 points 11 months ago

I wish this was exaggerated, but it isn't at all. Every time I try to learn Haskell, I end up in some tutorial: "You know how you sometimes need to represent eigenvectors in an n-dimensional plane with isotonically theoretical pulsarfunctions? Haskell types make that easy!"

[–] skyline@programming.dev 3 points 11 months ago (1 children)
[–] umbraroze@kbin.social 16 points 11 months ago

It's a thing! Sadly it won't rewrite Haskell codebases for you, though.