devilish666@lemmy.world to Programmer Humor@lemmy.ml · 4 months agoAaargh....my eyes......my eyes......lemmy.worldimagemessage-square99fedilinkarrow-up1623
arrow-up1623imageAaargh....my eyes......my eyes......lemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 4 months agomessage-square99fedilink
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up4·4 months agoI sometimes use n as my loop variable (⌐■_■)
minus-squareSorryQuick@lemmy.calinkfedilinkarrow-up2·4 months agon is genrally the max though. “From i=0 to n” is used in math all the time.
minus-squareSorryQuick@lemmy.calinkfedilinkarrow-up1·4 months agoWhich is fine, only it might confuse whoever then has to maintain your code.
I sometimes use
n
as my loop variable (⌐■_■)n is genrally the max though. “From i=0 to n” is used in math all the time.
Not in my code
Which is fine, only it might confuse whoever then has to maintain your code.