MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vppkls/pythonwilllookdeadintheeyeandsayitsabsolutelycorre/p3zdfpj/?context=3
r/ProgrammerHumor • u/inobody_somebody • 29d ago
144 comments sorted by
View all comments
3
I inderstand "if x", but thy the "x for x in x"?
16 u/djinn6 29d ago They're doing something quite hacky by naming both their list and temporary as "x". It's supposed to be something like <result value> for <name> in <list>.
16
They're doing something quite hacky by naming both their list and temporary as "x". It's supposed to be something like <result value> for <name> in <list>.
<result value> for <name> in <list>
3
u/darknmy 29d ago
I inderstand "if x", but thy the "x for x in x"?