3 ms·
Hey, let's keep inventing lengths. 5. Length in terms of time until complete display when rendered in a given architecture. 6. Length in terms of Braille char
by ASalazarMX 5y ago
Hey, let's keep inventing lengths.
5. Length in terms of time until complete display when rendered in a given architecture.
6. Length in terms of Braille characters needed to display it.
7. Length in terms of time of lecture at 300 wpm.
String length is overwhelmingly discussed as character length, meaning #2. Length in bytes should only be an issue for data transmission or storage, and people who still work with ASCII. Rendering dimensions are not relevant to the published article.
- rtkwe 5y ago#2 is variable in arabic where some letters are combined which caused the old "effective power" crash in iOS.
- deleted 5y ago[deleted]
- belval 5y agoI used to say the same thing, but then I was hired at a big company to work on products that needed to handle Arabic, Thai, Devanagari and Bengali. They don't have a proper concept of characters and diacritics count as a character, not as an accent so you have verticality in a string! I've come to respect the unicode spec as something with a lot of inherent complexity that you have to understand to work with. Your inner voice will scream "there has to be a better way" all the way through the project, but there actually isn't, you just have to accept that human language and writing is complex and representing it in software is equally complex.
- ASalazarMX 5y agoI understand that representing human languages is even more complex than I suppose, it's just that the article posted is a tweet surprised that a German word is one character wider in uppercase. It was not about graphic representation but number of characters.