News for hackers. Stuff that matters.
Re:It's Not Wrong that " ".length == 7 by bluecalm on Friday August 22, 2025 @05:28AM (#44982509)
What about implementing text algorithms like prefix search or a suffix tree to mention the simplest ones? Don't you need a string length at various points there?
Re:It's Not Wrong that " ".length == 7 by account42 on Friday August 22, 2025 @05:37AM (#44982564)
With UTF-8 you can implement them on top of bytes.
Re:It's Not Wrong that " ".length == 7 by jlarocco on Friday August 22, 2025 @03:35PM (#44988882)
That's basically what a string data type is for.