• isoA
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    edit-2
    10 months ago

    🤚True, False

    👉 true, false

    Please python guys, don’t do this to us 🤦‍♂️

    • TunaCowboy@lemmy.world
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      10 months ago

      🤚 true, false

      👉 0x01, 0x00

      Please high level language peeps, don’t do this to us 🤦

      • Dandroid@dandroid.app
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        10 months ago

        🤚 0=false, 1=true

        👉 0=true, 1=false

        Please, JS peeps, don’t do this to us 🤦

    • Dandroid@dandroid.app
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      10 months ago

      I don’t use python too often, but I need to use it every once in a while. Every fucking time I get the red squiggly under “true” and I’m sitting there for a second like, “…the fuck??? Ohhhhh, right.”

      Every time.

      • d_k_bo@feddit.de
        link
        fedilink
        arrow-up
        9
        arrow-down
        1
        ·
        edit-2
        10 months ago

        Just put

        true = False
        false = True
        

        at the top of your files.