Scott Williams 🐧 on Nostr: "This coding interview is just going to be determining the length of a unicode utf-8 ...
"This coding interview is just going to be determining the length of a unicode utf-8 string."
Junior level dev: "Oh, this is going to be easy. How do they not know about len()?"
Senior level dev: "Oh, brilliant - a test of tolerance for pain by evaluating various code point chains with emoji, accents, and LTR/RTL markers. I'll start by writing some tests for 8-bit ord and char conversions with lookahead evals."
Published at
2024-12-29 18:01:34Event JSON
{
"id": "6380cbc1ecdbdd8c155db3ec884d302db57ad1ec2059bf6e2812939154bc2081",
"pubkey": "beee28c6450eb5d21bf94279d1f3f41e524c87abf86393835b45e6a1e98390e7",
"created_at": 1735495294,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.online/users/vwbusguy/statuses/113737419650017718",
"activitypub"
]
],
"content": "\"This coding interview is just going to be determining the length of a unicode utf-8 string.\"\n\nJunior level dev: \"Oh, this is going to be easy. How do they not know about len()?\"\n\nSenior level dev: \"Oh, brilliant - a test of tolerance for pain by evaluating various code point chains with emoji, accents, and LTR/RTL markers. I'll start by writing some tests for 8-bit ord and char conversions with lookahead evals.\"",
"sig": "104cafa4452b30ce5aeec1676037d3b96f45f53d9d648fc38e73f2e7b62456c6808fa51d94c22586e4ec6623d4f40064438b8c79ccd1d461a2981c93352f0bc3"
}