Jaromil@fed.dyne.org to Programmer Humor@lemmy.ml · 16 days agoOff by one solitudefed.dyne.orgimagemessage-square5fedilinkarrow-up15arrow-down11
arrow-up14arrow-down1imageOff by one solitudefed.dyne.orgJaromil@fed.dyne.org to Programmer Humor@lemmy.ml · 16 days agomessage-square5fedilink
minus-squareNateNate60@lemmy.worldlinkfedilinkarrow-up0·edit-216 days agoBullshit. Every programmer knows that 'A' in ['A', 'B', 'C', 'D'] would be the 0th item; the first item is 'B'
Bullshit.
Every programmer knows that
'A'
in['A', 'B', 'C', 'D']
would be the 0th item; the first item is'B'
1st would be ‘B’, first is ‘A’