• owzim@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    As someone who uses ‘result’ as a variable name in functions all the time, please tell me what you think is wrong with it?

    If a function is called for example ‘transformAtoB’ it should be totally obvious what the variable will contain.

    • qaz@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      It’s not necessarily bad, it just provides very little information.