this post was submitted on 13 Apr 2025
125 points (77.1% liked)

Programmer Humor

22472 readers
931 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] 14 points 2 days ago (1 children)

Python should be one of the chaotics.
You can even dynamically create global variables in there.

[โ€“] [email protected] 5 points 2 days ago (1 children)

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

[โ€“] [email protected] 4 points 2 days 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 2 days ago

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

[โ€“] [email protected] 0 points 2 days ago

It's like having a PHP webserver inside a class