• wizardbeard@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    41
    ·
    9 months ago

    “Inside you there are two wolves…” or something:

    Option 1: Sit down with them and go line by line through it. Make him identify each variable’s purpose and then immediately find and replace to rename every instance with a more descriptive name.

    Option 2: Small script to shuffle the variable names in his code around after each of his commits.