logoalt Hacker News

andy99yesterday at 2:33 PM0 repliesview on HN

to me something like

  for key in possible_keys:
    if key in collection:
      ...
is fine and isn’t subject to your disadvantage.