why not a,b or x,y?lemm.eeimage mastermind ( @mastermind@lemm.ee ) Programmer Humor@lemmy.ml • 1 year ago message-square47fedilinkarrow-up1335
arrow-up1335imagewhy not a,b or x,y?lemm.ee mastermind ( @mastermind@lemm.ee ) Programmer Humor@lemmy.ml • 1 year ago message-square47fedilink
minus-square menturi ( @menturi@lemmy.ml ) linkfedilinkEnglish1•1 year agoI started using the first letter of the thing I am iterating over. This is particularly helpful with nested loops so I can easily remember which index variable corresponds to which thing.
I started using the first letter of the thing I am iterating over. This is particularly helpful with nested loops so I can easily remember which index variable corresponds to which thing.