• redcalcium@lemmy.institute
    link
    fedilink
    arrow-up
    65
    ·
    edit-2
    6 months ago

    Ah, must’ve been a fortran developer. I swear they have this ability to make the shortest yet the least memorable variable names. E.g. was the variable called APFLWS or APFLWD? Impossible to remember without going back and forth to recheck the definition. Autocomplete won’t help you because both variables exist.

      • T (they/she)@beehaw.org
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        6 months ago

        I’d say because fortran is often used for calculations such as numerical analysis where you have x, y and z for example.

        I have written fortran code in the past and it was mainly for that.

    • mkwt@lemmy.world
      link
      fedilink
      arrow-up
      21
      ·
      6 months ago

      And you can write more than six characters, but only the first six are recognized. So APFLWSAC and APFLWSAF are really the same variable.

      And without namespaces, company policy reserves the first two characters for module prefix and Hungarian notation.