Code points vs Unicode scalar values

Anne van Kesteren annevk at
Thu Sep 12 02:39:55 PDT 2013

On Wed, Sep 11, 2013 at 7:51 PM, Brendan Eich <brendan at> wrote:
> You could be right, but this is a deep topic, not sorted out by programming
> language developers, in my view. It came up recently here:
> That thread continues. The point about C winning because it doesn't have an
> abstract String type, only char[], is winning in my view. Yes, it's low
> level and you have to cope with multiple encodings, but any attempt at a
> more abstract view would have made a badly leaky abstraction, which would
> have been more of a boat anchor.

I would be okay with not doing these additions until we are more
confident about the correct solution. The polyfills for these are
relatively straightforward and documented on MDN.

Or is your argument that this code point layer on top of 16-bit code
units is not an abstraction? (And only a Unicode scalar value layer
would be an abstraction by implication.)


More information about the es-discuss mailing list