497
submitted 1 week ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 5 points 1 week ago

Underscore alone is a special variable name and I'm pretty sure anything assigned to it goes straight to garbage collection. Whereas _myvariable is typically use to indicate a "private" class variable or method (Python doesn't have private so it's just a convention).

this post was submitted on 08 Jun 2025
497 points (97.7% liked)

Programmer Humor

36575 readers
767 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS