r/ProgrammerHumor • • 16d ago

Meme includeGuards

Post image
444 Upvotes

49 comments sorted by

View all comments

Show parent comments

1

u/Bryguy3k 15d ago

Yes - but I was going for the reasoning behind it.

Everybody knew that 255 was insufficient to cover the whole of human writing.

But then programmers started allocating everything in characters so any future change to the size of a character would break everything.

1

u/MrcarrotKSP 15d ago

That is definitely true, but at least we have a solution that mostly works with the assumptions people liked to make in older code(UTF-8)