this post was submitted on 05 Oct 2023
1097 points (96.8% liked)

Programmer Humor

37322 readers
177 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Spzi@lemm.ee 3 points 2 years ago (1 children)

"Monad" is a shorter term though. "Structured data type" reads almost as bulky as "Curve of constant normal intersection points".

[โ€“] david@feddit.uk 3 points 2 years ago

True. But the word Monad has done more harm to the accessibility, popularity and reputation of pure functional programming than pretty much anything else.

Yeah, I could have said circle rather than curve of constant normal intersection points, but that word is very commonly understood, so it's not that same as unnecessarily calling something a Monad. Maybe it's the equivalent of calling it a 2-manifold instead of a wheel.

Perhaps just ditch the generalisation, then, and just call them Result or Maybe. After all, circle is a short word, but we just call them wheels.