@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-squarebasuramannenlinkfedilink3•2 years agoI don’t like i and j since they are commonly used for imaginary numbers. I like to start on n. Probably because I do DSP.
minus-square𝜏aulinkfedilink10•2 years agoBut n is commonly used for a total number. Using an index i to iterate over a number n of elements just makes more sense IMO.
I don’t like i and j since they are commonly used for imaginary numbers. I like to start on n. Probably because I do DSP.
But n is commonly used for a total number. Using an index i to iterate over a number n of elements just makes more sense IMO.