Tiger_Man_〔he/him〕@lemmy.blahaj.zone to Programmer Humor@programming.dev · 5 days agothat's truelemmy.blahaj.zoneimagemessage-square15fedilinkarrow-up1354arrow-down19
arrow-up1345arrow-down1imagethat's truelemmy.blahaj.zoneTiger_Man_〔he/him〕@lemmy.blahaj.zone to Programmer Humor@programming.dev · 5 days agomessage-square15fedilink
minus-squarehakunawazo@lemmy.worldlinkfedilinkarrow-up3·edit-25 days agoHis index started like -6 or -4 (assuming he even existed).
minus-squarelefixxx@lemmy.worldlinkfedilinkarrow-up2·5 days agoI’ll take it over 0, because it will force people to think with what arrays are populated. And if 1 index or 0index is appropriate instead of defaulting all arrays and loops at 0.
Indexes start at 3. 😈
No no… negative three
His index started like -6 or -4 (assuming he even existed).
I’ll take it over 0, because it will force people to think with what arrays are populated. And if 1 index or 0index is appropriate instead of defaulting all arrays and loops at 0.