DEV Community

Panda Quests
Panda Quests

Posted on

Why are i and j so commonly used as variables in programming?

Top comments (1)

Collapse
 
thecodepixi profile image
Emmy | Pixi

AFAIK, i is a popular choice when iterating over things because it's short for index. And I guess j for nested iterations because it's next in the alphabet 🤷🏼‍♂️