this post was submitted on 28 Feb 2025
951 points (99.3% liked)

Programmer Humor

25009 readers
1478 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Zagorath@aussie.zone 58 points 4 months ago (5 children)

Nothing wrong with classes in functional programming though. Just return a new instance of the class from your method, rather than mutating an existing instance.

[–] xmunk@sh.itjust.works 15 points 4 months ago (2 children)

Javascript:

I heard you like mutating class data so I'm mutating the data you can put in your class data, dawg.

[–] underisk@lemmy.ml 7 points 4 months ago

JavaScript: a language for mutants.

load more comments (1 replies)
load more comments (3 replies)