Ashish to Linux@lemmy.ml • edit-22 years ago[@linux](https://lemmy.ml/c/linux) [@programmerhumor](https://lemmy.ml/c/programmerhumor) !programmerhumor@lemmy.mlfiles.mastodon.socialimagemessage-square27fedilinkarrow-up1367arrow-down148
arrow-up1319arrow-down1image[@linux](https://lemmy.ml/c/linux) [@programmerhumor](https://lemmy.ml/c/programmerhumor) !programmerhumor@lemmy.mlfiles.mastodon.socialAshish to Linux@lemmy.ml • edit-22 years agomessage-square27fedilink
minus-square@youRFate@feddit.delinkfedilink4•edit-22 years agoUsually variables like that can be avoided with itterators nowadays. If they can’t I like to use idx, if they are nested I name them after what they index, like idx_rows, idx_cols.
Usually variables like that can be avoided with itterators nowadays. If they can’t I like to use
idx
, if they are nested I name them after what they index, likeidx_rows, idx_cols
.