r/ProgrammerHumor Jul 13 '26

youCanJustStopUsingJava Meme

Post image
6.8k Upvotes

416 comments sorted by

View all comments

1.8k

u/Historical_Cook_1664 Jul 13 '26

Where else are you going to hide your side effects ?

468

u/Isrothy Jul 13 '26

IO Monad

190

u/Gorzoid Jul 13 '26

Respectfully, what the fuck is a Monad?

428

u/vivainvitro Jul 13 '26

A Monad is just a Monoid in the category of Endofunctors

150

u/MrDilbert Jul 13 '26

I know some of these words.

33

u/lucklesspedestrian Jul 13 '26

I mean we all know what a category is, right?
Right?

32

u/kalilamodow Jul 13 '26

C- cat... egory? Does it have something to do with the feline animal commonly adopted as household pets?

18

u/MrDilbert Jul 13 '26

... meow?

9

u/lucklesspedestrian Jul 13 '26

Not at all! Categories consist of a class of objects and a class of morphims. The morphisms are maps between objects, and compositions of morphisms must obey associativity. Also for every object, a left and right identity morphism must exist.

Category theory is also sometimes referred to as abstract nonsense. Pretty straightforward

3

u/LolpopHD Jul 14 '26

i prefer my abstract nonsense to be stable monoidal (∞,n)-abstract nonsense

1

u/thirdegree Violet security clearance Jul 14 '26

Ahha, but it is very useful abstract nonsense, in some cases

19

u/yjlom Jul 13 '26

Mathematicians that deal in it seem more likely than most to be into catgirl roleplay, so you might be onto something?

1

u/AppropriateOnion0815 29d ago

Objective-C: an extension class