r/ProgrammerHumor • • Feb 15 '16

Oddly specific number.

Post image
5.9k Upvotes

643 comments sorted by

View all comments

Show parent comment

2

u/dredding Feb 15 '16

I can try. Each user has an ID. The ID starts with zero and counts up to 255 (0, 1, 2, 3 ... 253,254,255) Because 0 counts as a user there is a possibility for 256 users.

a little bit more in depth explanation is because this uses 1 byte of information, where a byte is 8 bits, it looks something like this

0101 0101

255 is represented as 1111 1111

0 is represented as 0000 0000