Gollum@feddit.org to Programmer Humor@programming.dev · 23 days agoAnother smart movefeddit.orgimagemessage-square30fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 23 days agomessage-square30fedilink
minus-squareIndustryStandard@lemmy.worldlinkfedilinkarrow-up0arrow-down1·23 days agoIt would screw up existing code but doing [array.length() -1] is pretty stupid.
minus-squarethedeadwalking4242@lemmy.worldlinkfedilinkarrow-up1·edit-223 days 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++