henfredemars to Programmer Humor@programming.devEnglish · edit-21 day agoProgrammers Contestimagemessage-square13fedilinkarrow-up1451arrow-down110file-text
arrow-up1441arrow-down1imageProgrammers Contesthenfredemars to Programmer Humor@programming.devEnglish · edit-21 day agomessage-square13fedilinkfile-text
minus-squarehenfredemarsOPlinkfedilinkEnglisharrow-up40·1 day agoNot indexing at zero seems like a waste of a perfectly good integer.
minus-squareTheFriendlyDickhead@lemm.eelinkfedilinkarrow-up19·1 day agoYea ther is a big difference between indexing and counting
minus-squareMajinBlayze@lemmy.worldlinkfedilinkarrow-up5·22 hours agoElement 0 is the first element of the list
minus-squareOpenStars@piefed.sociallinkfedilinkarrow-up6·23 hours 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:-).