ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 个月前Competition places start at 0lemmy.worldimagemessage-square20fedilinkarrow-up1559arrow-down113
arrow-up1546arrow-down1imageCompetition places start at 0lemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 个月前message-square20fedilink
minus-squaredisguy_ovahea@lemmy.worldlinkfedilinkarrow-up3·1 个月前Isn’t zero the same in base-2 as it is in base-10? Wouldn’t first place be 1, second place be 10, and third place 11?
minus-squareSneezycat@sopuli.xyzlinkfedilinkarrow-up41·1 个月前This is about indexes starting at 0, not about binary.
minus-squaredisguy_ovahea@lemmy.worldlinkfedilinkarrow-up11·1 个月前Gotcha. I guess that’s the difference between programmer humor and computer architect humor.
Isn’t zero the same in base-2 as it is in base-10? Wouldn’t first place be 1, second place be 10, and third place 11?
This is about indexes starting at 0, not about binary.
Gotcha. I guess that’s the difference between programmer humor and computer architect humor.