DEV Community

loading...

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

Collapse
dcwither profile image
Devin Witherspoon Author

Great call out! I don’t see this much in production code, but is super common in interview questions, as well as when people are asking for help. I also like your alternative as a replacement without additional context.

Collapse
thebuzzsaw profile image
Kelly Brown

I kid you not: I have seen tempData before. Best of both worlds!