• owzim@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    8 months 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
      8 months ago

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