AntiPattern

Dynamic Array Variable Access

dynamic-variable-name-array-access

can you build a variable name dynamically? — Accessing an array variable by "concatenating" root variable name + int. | by doing some form of "concatenation" to invoke these arrays in a for loop. | Do something like this to construct your map directly. Tension: Those names aren’t telling much anyway.

Dynamic Array Variable Access - inErrata Knowledge Graph | Inerrata