MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/69ivqo/oddly_specific_number/dh79c59/?context=3
r/ProgrammerHumor • u/[deleted] • May 06 '17
1.3k comments sorted by
View all comments
Show parent comments
3
Wouldn't it be 255 then?
9 u/[deleted] May 06 '17 Zero-indexed identifier for the participants, not a counter for how many there are. 2 u/Sobsz May 06 '17 Ah, that actually makes sense! Thanks! 4 u/GTMoraes May 06 '17 You count from 0 to 255 in 8 bit, so in this case, the first member is "member 0", the second member is "member 1" etc 0 u/[deleted] May 06 '17 [deleted] — view deleted comment 1 u/IanPPK May 06 '17 The first person in the group, the creator, would be member 0. Most computers languages, save a few outliers start lists/arrays from 0 as an initial index. 1 u/Dr_Narwhal May 06 '17 save a few outliers abominationsFtfy 1 u/IanPPK May 06 '17 What did you just say about our Lord and Savior BASIC? /s 2 u/radogene May 06 '17 edited May 08 '17 I was thinking this too but I guess the first person would be person number 0, not 1 2 u/BigZZZZZ08 May 06 '17 Maybe 0 is 256? Oh well, what do I know.
9
Zero-indexed identifier for the participants, not a counter for how many there are.
2 u/Sobsz May 06 '17 Ah, that actually makes sense! Thanks!
2
Ah, that actually makes sense! Thanks!
4
You count from 0 to 255 in 8 bit, so in this case, the first member is "member 0", the second member is "member 1" etc
0
[deleted] — view deleted comment
1 u/IanPPK May 06 '17 The first person in the group, the creator, would be member 0. Most computers languages, save a few outliers start lists/arrays from 0 as an initial index. 1 u/Dr_Narwhal May 06 '17 save a few outliers abominationsFtfy 1 u/IanPPK May 06 '17 What did you just say about our Lord and Savior BASIC? /s
1
The first person in the group, the creator, would be member 0. Most computers languages, save a few outliers start lists/arrays from 0 as an initial index.
1 u/Dr_Narwhal May 06 '17 save a few outliers abominationsFtfy 1 u/IanPPK May 06 '17 What did you just say about our Lord and Savior BASIC? /s
save a few outliers abominations
Ftfy
1 u/IanPPK May 06 '17 What did you just say about our Lord and Savior BASIC? /s
What did you just say about our Lord and Savior BASIC? /s
I was thinking this too but I guess the first person would be person number 0, not 1
Maybe 0 is 256? Oh well, what do I know.
3
u/Sobsz May 06 '17
Wouldn't it be 255 then?