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