4 ms·
> " ".length == 36 Heh. In my code, I always (idiosyncratically, I admit) spell '\x20' as '\x20' (or even just as 0x20, if it's C), unless it's a part of a mul
by Joker_vD 1y ago
> " ".length == 36
Heh. In my code, I always (idiosyncratically, I admit) spell '\x20' as '\x20' (or even just as 0x20, if it's C), unless it's a part of a multicharacter string e.g. "Hello world!": it just feels wrong to have an empty space inside single quotes. Is it really just U+0020 in there? Is it supposed to be U+0020 there? Silly worries, I know, but I just don't like the way ' ' looks.
- zenethian 1y agoYou should read the article...
- Joker_vD 1y agoIs the article about HN stripping emojis (and some other Unicode code points) from the title of another HN submission?
- criddell 1y agoIf you are on Chrome, hover your mouse over the link to the article and look at the URL displayed in the bottom left corner (at least that's where Chrome puts it on my machine).
- Retr0id 1y agoA good text editor will make all whitespace variants visually distinct.