this post was submitted on 25 Oct 2026
371 points (95.1% liked)

Programmer Humor

33844 readers
1680 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 3 years ago
MODERATORS
 

Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.

you are viewing a single comment's thread
view the rest of the comments
[–] marcos@lemmy.world 5 points 3 days ago (1 children)

There's nothing in Functional Programming that stops you from writing in an Object Oriented idiom...

[–] portnull@lemmy.dbzer0.com 2 points 3 days ago (1 children)

There are no objects in a pure functional language. No mutable types. Could you give an example of what you mean please?

[–] marcos@lemmy.world 3 points 3 days ago

Oh, right, there is no mutability. There is just some context you chain from one function to another, that gets abstracting exactly as changes into some existing state.

Oh, and all that running in a mutability place-oriented imperative machine.