• Gremour@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    6 hours ago

    In Go, the recommended convention for variable name length is to be proportional to their scope. It is common to use one or few letters long variables if they are local to a few lines loop or a short function.