this post was submitted on 17 Jan 2025
743 points (98.9% liked)

Programmer Humor

20039 readers
748 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] 8 points 1 month ago (1 children)

So basically the same as a discard in C#?

[โ€“] [email protected] 2 points 1 month ago* (last edited 1 month ago)

Yeah, Python has it as well. I think the only real use of it is code readability since you declare that this variable will never be used.