4 ms·
As far as complexity go, this is quite simple. Unlike a lot of latin accentuated characters, colour modified emoji do not have evil twin brothers that look the
by gutnor 11y ago
As far as complexity go, this is quite simple. Unlike a lot of latin accentuated characters, colour modified emoji do not have evil twin brothers that look the same with a different series of code point.
- weinzierl 11y agoI'm not sure it's that simple. To quote from another reply: "Can't wait to bring up this edge case the next time someone asks me to reverse a string in an interview."
- masklinn 11y agoThat's a problem which has existed since Unicode 1.0. That you weren't aware of it before does not make your past code correct. Hell, now, 24 years late, you finally know about that issue and with a bit of luck you may not fuck it up next time you're doing that. That sounds like a great result to me.
- frou_dh 11y agoThanks for sane commentary throughout this story. It's a bit tiresome how people are so quick to tar orderly additions to technical things as "complexity".
- golergka 11y agoBut you're talking about this feature, isolated. You should be thinking about how this feature interacts with every other feature implemented in Unicode. And how, for example, this feature will be brought into an existing Unicode parser. There's always a straw that breaks the camel's neck. Or just leads to camels' quality to gradually deteriorate, leading to increasing bug rates and camel maintainers' depression.
- matthewmacleod 11y agoIt doesn't interact with anything. It's an existing feature.