VLERange: a range in between BidirectionalRange and RandomAccessRange

spir denis.spir at gmail.com
Fri Jan 14 05:52:08 PST 2011


On 01/14/2011 01:52 PM, Daniel Gibson wrote:
> Am 14.01.2011 07:26, schrieb Nick Sabalausky:
>> "Andrei Alexandrescu"<SeeWebsiteForEmail at erdani.org> wrote in message
>> news:igoj6s$17r6$1 at digitalmars.com...
>>>
>>> I'm not so sure about that. What do you base this assessment on? Denis
>>> wrote a library that according to him does grapheme-related stuff nobody
>>> else does. So apparently graphemes is not what people care about
>>> (although
>>> it might be what they should care about).
>>>
>>
>> It's what they want, they just don't know it.
>>
>> Graphemes are what many people *think* code points are.
>>
>
> Agreed. Up until spir mentioned graphemes in this newsgroup I always
> thought that one Unicode code point == one character on the screen.
>
> I guess in the majority of use cases you want to operate on user
> perceived characters.

That's what makes sense for the user in 99.9% case, thus that's what 
makes sense for the programmer, thus that's what makes sense for the 
language/type/lib designer.

denis
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d mailing list