top | item 35476201

(no title)

lolcatuser | 2 years ago

It's better to say that, in C, characters are bytes. That's why coming at this from the modern perspective of "characters are the things on my screen" is always going to confuse you - C doesn't have bytes, only characters. C programmers (should) understand this the same way Lisp programmers understand that "CAR" and "CDR" refer to "first" and "rest" or Forth programmers understand that "the stack" is the data stack and has no relation to the call stack.

discuss

order

nerdponx|2 years ago

So a "char" is a byte, but a "char" is perhaps not a "character", except as a funny coincidence of jargon.