![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/q98XK4sKtw.png)
51·
10 months 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, like idx_rows, idx_cols
.
Afaik much smaller code base and as such easier to audit.