3 ms·
I'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 inte
by weinzierl 11y ago
I'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".