top | item 47097445 (no title) AlotOfReading | 10 days ago It's the usual convention for systems programming languages and has been for decades, e.g. strlen() and std::string.length(). Byte length is also just more useful in many cases. discuss order hn newest dataflow|10 days ago No, those are counts by definition, and byte lengths only by coincidence. Look at wcslen() and std::wstring::length().
dataflow|10 days ago No, those are counts by definition, and byte lengths only by coincidence. Look at wcslen() and std::wstring::length().
dataflow|10 days ago