devilish666@lemmy.world to Programmer Humor@lemmy.ml · 9 months agoAaargh....my eyes......my eyes......lemmy.worldimagemessage-square98fedilinkarrow-up1622arrow-down112
arrow-up1610arrow-down1imageAaargh....my eyes......my eyes......lemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 9 months agomessage-square98fedilink
minus-squareRogueBananalinkfedilinkEnglisharrow-up73arrow-down2·9 months agoI would take this over int a; anyday
minus-squareintelisense@lemm.eelinkfedilinkarrow-up31·9 months agoAmateur! Ints should be called i, j or k.
minus-squareRogueBananalinkfedilinkEnglisharrow-up28·9 months agoCmon now its illegal to use them anywhere other than iterators
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up4·9 months agoI sometimes use n as my loop variable (⌐■_■)
minus-squareSorryQuick@lemmy.calinkfedilinkarrow-up2·9 months agon is genrally the max though. “From i=0 to n” is used in math all the time.
minus-squareIronfacebuster@lemmy.worldlinkfedilinkarrow-up18·9 months agoint IntegerThatWillBeUsedToIterateOverAListOfItemsAndModifyThem2
I would take this over int a; anyday
Amateur! Ints should be called i, j or k.
Cmon now its illegal to use them anywhere other than iterators
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
This is the way
int IntegerThatWillBeUsedToIterateOverAListOfItemsAndModifyThem2