4 ms·
Good God, copy-pasting emoji in production code is now a thing. Damn you, millennials, damn you to code maintenance Hell!
by cornholio 9y ago
Good God, copy-pasting emoji in production code is now a thing. Damn you, millennials, damn you to code maintenance Hell!
- dewey 9y agoIt’s just Unicode?
- deleted 9y ago[deleted]
- throwanem 9y agoYour editor can't type emoji?
- deleted 9y ago[deleted]
- cornholio 9y agoycombinator can't: There should be emoji after the colon, I can type them fine in Chrome. Truth be told, they would make up great return values, making yourself indispensable to your employer.
- throwanem 9y agoThe HN platform deliberately discards characters beyond IIRC 0xFF - it's been a while since I looked at the source, I'm probably wrong about where it cuts off. An odd design choice, but a design choice all the same - it doesn't bear on anything else in any way I can see.
- nitrogen 9y agoThere was a time when people discovered a lot of text renderers break down with lots of stacked combining characters, and people were posting strings to HN that IIRC either drew a stack of accents all the way up and down the page, or crashed the browser. Maybe that has something to do with the character range limits. Not all non-ASCII is forbidden, though: Français should work AFAIK, and I've seen Chinese and Japanese.