News for hackers. Stuff that matters.
Re:It’s Not Wrong that “ ”.length == 7 by prng2021 on Thursday June 01, 2023 @10:46PM (#36160241)
> A string should be viewed as an opaque data type with views into it depending on what you're trying to do.

> The attribute shouldn't be 'length' it should be something like 'countOfCodePoints' or exposed via a `CodePoints` type view.

That’s a great way to explain it and something I’ll keep with me. Thanks

There are no comments on this comment yet.