henfredemars@infosec.pub to Programmer Humor@programming.devEnglish · edit-211 days agoProgrammers Contestinfosec.pubexternal-linkmessage-square14fedilinkarrow-up1490arrow-down112file-text
arrow-up1478arrow-down1external-linkProgrammers Contestinfosec.pubhenfredemars@infosec.pub to Programmer Humor@programming.devEnglish · edit-211 days agomessage-square14fedilinkfile-text
minus-squarehenfredemars@infosec.pubOPlinkfedilinkEnglisharrow-up43·11 days agoNot indexing at zero seems like a waste of a perfectly good integer.
minus-squareTheFriendlyDickhead@lemm.eelinkfedilinkarrow-up19·11 days agoYea ther is a big difference between indexing and counting
minus-squareMajinBlayze@lemmy.worldlinkfedilinkarrow-up6·11 days agoElement 0 is the first element of the list
minus-squareOpenStars@piefed.sociallinkfedilinkarrow-up8·11 days agoUnless you are saving it for something else, like the header of a table:-).
Not indexing at zero seems like a waste of a perfectly good integer.
Yea ther is a big difference between indexing and counting
Element 0 is the first element of the list
Unless you are saving it for something else, like the header of a table:-).