"Unicode"
Posted Oct 30, 2009 22:38 UTC (Fri) by
foom (subscriber, #14868)
In reply to:
"Unicode" by spitzak
Parent article:
Proposal: Moratorium on Python language changes
I believe from reading some of the Apocalypsen years ago that Perl 6 is going to do something like
this. Seems like a nice plan.
Decoding all your bytes into UCS4 is wasteful in time and memory, and 99% of the time
unnecessary. Who ever wants to talk about codepoints, anyways? If you want more than bytes,
graphemes are the more useful concept, and Python's unicode strings do nothing for you there.
People (especially people who design programming langauges) need to get over this obsession with
constant-time access to arbitrary numbered codepoints. It's really *not* an important or useful
feature to have in your API!
(
Log in to post comments)