• palordrolap@fedia.io
    link
    fedilink
    arrow-up
    4
    ·
    21 hours ago

    In this instance, I think there was some suggestion to write code in mostly lower case, including all user variables, or at least inCamelCaseLikeThis with a leading lower case letter, and so to make True and False stand out, they’ve got to be capitalised.

    I mean. They could have been TRUE and FALSE. Would that have been preferable? Or how about a slightly more Pythonic style: __true__ and __false__

    • jdeath@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      19 hours ago

      i would go with lowercase and just have it be a reserved word like the other ones. but I’m not super picky, i generally like to stick to what people are used to, and i can understand the reasoning behind the choice.