• lemmyvore
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    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.