Operator overloading revisited

David-Sarah Hopwood david-sarah at jacaranda.org
Thu Jul 9 16:00:51 PDT 2009

Brendan Eich wrote:
> On Jul 6, 2009, at 6:10 PM, Alex Russell wrote:
>> This point disturbs me. Making classes frozen solves no existing JS
>> programmer problems, introduces new restrictions with no mind paid to
>> the current (useful) patterns of WRT the prototype chain, and
>> introduces the need for a const that only seems there to make some
>> weird security use-cases work. And I say that with all sympathy to
>> weird language features and the security concerns in question.
>> Why should this stuff be the default?
> What Mark said, I agree completely with his post: "this stuff" is *not*
> "the default" -- function as constructor is the default, and no one is
> salting that syntax. So why are you against sugar for high-integrity
> programmers? It's not as if those weirdos will take over the world, right?

We security weirdos fully intend to take over the world.
You have been warned.

David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com

More information about the es-discuss mailing list