• Eager Eagle
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 years ago

    if “left” and “right” were relevant for addition, they would indeed be better names

    • exussum
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Are you against using a single letter variable like e for element in iterating over things?

        • exussum
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          To each their own. But man imagine if you have a collection of stuff that has a large name, and then having to figure out a short name other than e when iterating. I hope you’re not iterating over chemical names 😬

          • Eager Eagle
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 years ago

            No need to be over-descriptive. Anything at all more specific than e will probably be a better name