I have a question about #Python, code readability, and #SecureProgramming. I'm planning to do a blog post about this, but I would like to have some numbers about the community (and comments if you have some).
If you have a Twitter account, I would appreciate if you could vote there. https://twitter.com/X_Cli_Public/status/1108842982680219649
I wish Mastodon had the poll feature so I could create it here instead.
@bcl By hilarity, do you mean that the behaviour is erratic depending on the Python version?
Interestingly, you caught that the edge case was None and you chose "if value:" because of it. My personnal choice is "if value != ''" and of course, that's why I initiated the poll :)
A Mastodon instance for info/cyber security-minded people.