snaggen@programming.dev to Programming@programming.dev · 1 year agoThe Absolute Minimum Every Software Developer Must Know About Unicode in 2023 (Still No Excuses!)tonsky.meexternal-linkmessage-square66fedilinkarrow-up1293arrow-down112cross-posted to: furprogs@pawb.socialhackernews@lemmy.smeargle.fanshackernews@derp.foo
arrow-up1281arrow-down1external-linkThe Absolute Minimum Every Software Developer Must Know About Unicode in 2023 (Still No Excuses!)tonsky.mesnaggen@programming.dev to Programming@programming.dev · 1 year agomessage-square66fedilinkcross-posted to: furprogs@pawb.socialhackernews@lemmy.smeargle.fanshackernews@derp.foo
minus-squarelemmyvore@feddit.nllinkfedilinkEnglisharrow-up11·1 year agoNone of these languages should have generic len() or size() for strings, come to think of it. It should always be something explicit like bytes() or chars() or graphemes(). But they’re there for legacy reasons.
None of these languages should have generic len() or size() for strings, come to think of it. It should always be something explicit like bytes() or chars() or graphemes(). But they’re there for legacy reasons.