Gollum@feddit.org to Programmer Humor@programming.dev · 26 days agoAnother smart movefeddit.orgimagemessage-square109fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 26 days agomessage-square109fedilink
minus-squarethedeadwalking4242@lemmy.worldlinkfedilinkarrow-up0·26 days agoFor i = 0; I <= array.length; i++
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up0·26 days agoi < array.length or else you overflow.
minus-squareIndustryStandard@lemmy.worldlinkfedilinkarrow-up0·25 days agoCasually throws in capitals as well.
minus-squarethedeadwalking4242@lemmy.worldlinkfedilinkarrow-up0·25 days agoMy post is a work of fiction
For i = 0; I <= array.length; i++
i < array.length
or else you overflow.Casually throws in capitals as well.
My post is a work of fiction