alt
Hacker News
andy99
•
yesterday at 2:33 PM
•
0 replies
•
view on HN
to me something like
for key in possible_keys: if key in collection: ...
is fine and isn’t subject to your disadvantage.