this post was submitted on 13 Apr 2025
127 points (77.0% liked)

Programmer Humor

22657 readers
1652 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
[โ€“] [email protected] 5 points 1 week ago (1 children)

Or stick a new variable onto the instance of a class ๐Ÿคฏ

[โ€“] [email protected] 4 points 1 week ago (2 children)

or return values for properties that don't exist, and only get created on access!

I love python.

[โ€“] [email protected] 1 points 6 days ago

It's like having a PHP webserver inside a class

[โ€“] [email protected] 1 points 1 week ago

Or have variables inside a loop hoisted up in the function. Fun when you capture them with lambdas.