@mastermind@lemm.ee to Programmer Humor@lemmy.ml • 2 years agowhy not a,b or x,y?lemm.eeimagemessage-square98fedilinkarrow-up1670arrow-down143
arrow-up1627arrow-down1imagewhy not a,b or x,y?lemm.ee@mastermind@lemm.ee to Programmer Humor@lemmy.ml • 2 years agomessage-square98fedilink
minus-square@menturi@lemmy.mllinkfedilinkEnglish2•2 years 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.