mastermind@lemm.ee to Programmer Humor@lemmy.ml · 1 year agowhy not a,b or x,y?lemm.eeimagemessage-square98fedilinkarrow-up1672arrow-down143
arrow-up1629arrow-down1imagewhy not a,b or x,y?lemm.eemastermind@lemm.ee to Programmer Humor@lemmy.ml · 1 year agomessage-square98fedilink
minus-square𝘋𝘪𝘳𝘬@lemmy.mllinkfedilinkarrow-up23arrow-down4·1 year agoPeople who name iterators with one letter have no soul.
minus-squarecatfish@lemmy.mllinkfedilinkarrow-up4·1 year agoAnd people who iterate over 3D space using firstDimensionIndex, secondDimensionIndex, and thirdDimensionIndex instead of x, y, z have no sense 😜
minus-square𝘋𝘪𝘳𝘬@lemmy.mllinkfedilinkarrow-up2·1 year agox, y, and z are absolutely fine for spatial addressing.
People who name iterators with one letter have no soul.
two letters it is then
And people who iterate over 3D space using firstDimensionIndex, secondDimensionIndex, and thirdDimensionIndex instead of x, y, z have no sense 😜
x, y, and z are absolutely fine for spatial addressing.