Closed code423n4 closed 2 years ago
It is unnecesary to iniliaze variables in for loops
Disagree. This is usually submitted as a potential gas optimization. From a QA perspective I believe this hurts readability since that is not normally how for loops are written in any language. From the gas perspective, testing shows that this optimization is no longer effective with the latest versions of Solidity.
See the markdown file with the details of this report here.