DEV Community


Discussion on: Stop Using "data" as a Variable Name

drumstix42 profile image

Check out this Answer on StackOverflow:

The answer is mostly because of Math, and what "i" and "j" stood for and it's pretty easy to understand how it made it's way into code. Luckily these days, simple "for" loops can be often be replaced with functional versions, or use "for...of"