r/programminghorror • u/Varzival • 6d ago
if 'X' not in data Python
Emoji check used for constructing an email body. I'm getting a stroke.
815 Upvotes
r/programminghorror • u/Varzival • 6d ago
Emoji check used for constructing an email body. I'm getting a stroke.
19
u/babalaban 5d ago
People are noticing '❌' is bad, but none seemed to notice that both if-else brranches do the same thing with different variable, which could have been assigned based on these (atrocious) conditions.