henfredemars@infosec.pub to Programmer Humor@programming.devEnglish · edit-24 days agoProgrammers Contestinfosec.pubimagemessage-square12fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1imageProgrammers Contestinfosec.pubhenfredemars@infosec.pub to Programmer Humor@programming.devEnglish · edit-24 days agomessage-square12fedilinkfile-text
minus-squarehenfredemars@infosec.pubOPlinkfedilinkEnglisharrow-up0·4 days agoNot indexing at zero seems like a waste of a perfectly good integer.
minus-squareOpenStars@piefed.sociallinkfedilinkEnglisharrow-up0·4 days agoUnless you are saving it for something else, like the header of a table:-).
minus-squareTheFriendlyDickhead@lemm.eelinkfedilinkarrow-up0·4 days agoYea ther is a big difference between indexing and counting
minus-squareMajinBlayze@lemmy.worldlinkfedilinkarrow-up0·4 days agoElement 0 is the first element of the list
Not indexing at zero seems like a waste of a perfectly good integer.
Unless you are saving it for something else, like the header of a table:-).
Yea ther is a big difference between indexing and counting
Element 0 is the first element of the list