Gollum@feddit.org to Programmer Humor@programming.dev · 6 months agoAnother smart movefeddit.orgimagemessage-square33linkfedilinkarrow-up113arrow-down11
arrow-up112arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 6 months agomessage-square33linkfedilink
minus-squareIndustryStandard@lemmy.worldlinkfedilinkarrow-up0arrow-down1·6 months agoIt would screw up existing code but doing [array.length() -1] is pretty stupid.
minus-squarethedeadwalking4242@lemmy.worldlinkfedilinkarrow-up1·edit-26 months agoFor i = 0; I < array.length; i++
It would screw up existing code but doing [array.length() -1] is pretty stupid.
For i = 0; I < array.length; i++