local -n can modify variables from other functions
In Bash, normal local variables are usually fine.
But with local -n (namerefs) I noticed they can sometimes change variables from outer/previous functions because of how scoping works.
To avoid problems I started giving local variables unique names (with prefixes) instead of short ones.
Anyone else ran into this with namerefs?