Storing a value inside a collection at a given key or index and then unconditionally overwriting it without reading the initial value is a case of
a "dead store".
towns[i] = "London";
towns[i] = "Chicago"; // Noncompliant: We never used the previous value
This practice is redundant and will cause confusion for the reader. More importantly, it is often an error and not what the developer intended to
do.