mastermind@lemm.ee to Programmer Humor@lemmy.ml · 1 year agowhy not a,b or x,y?lemm.eeimagemessage-square97fedilinkarrow-up1652arrow-down141
arrow-up1611arrow-down1imagewhy not a,b or x,y?lemm.eemastermind@lemm.ee to Programmer Humor@lemmy.ml · 1 year agomessage-square97fedilink
minus-squarementuri@lemmy.mllinkfedilinkEnglisharrow-up1·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.