• I’d argue that if it’s strict explicitness you want, python is the wrong language. if not var is a standard pattern in python. You would be making your code slower for no good reason.

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      You always want explicitness when programming. Not everyone reading your code will be deep into Python and relying on falsiness makes it harder to understand.