That's interesting, but I think that's referring to a different concept again. For example, "A" uses a character literal, but "\x41" doesn't (even though they are the same string). So in the case of escaping newlines, "\n" doesn't use a character literal, whereas
Hmm I would agree to that looking at the logic! How about chnaging the title to escape characters and having a genral approach towads it rather than refering to a specific escape charater that generatds charater literals 👍
That's interesting, but I think that's referring to a different concept again. For example,
"A"
uses a character literal, but"\x41"
doesn't (even though they are the same string). So in the case of escaping newlines,"\n"
doesn't use a character literal, whereasdoes.
Hmm I would agree to that looking at the logic! How about chnaging the title to escape characters and having a genral approach towads it rather than refering to a specific escape charater that generatds charater literals 👍
Yes, personally I'd call them "escape sequences" (with
\
being the "escape character").Anyway, nice article! 😁
Yes agreed 💯