Re: More flexibility in the ECMAScript part? (was: Re: Futures (was: Request for JSON-LD API review))

2013-04-20 Thread Brendan Eich
Ecma does official HTML now. /be Tab Atkins Jr. wrote: unofficial HTML version for everything. ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss

Re: Futures

2013-04-20 Thread Brendan Eich
Tab Atkins Jr. wrote: This group is public-script-coord, which we're already having the discussion on, so... success! THE SYSTEM IS WORKING! Sorry for catch-up replies, I will try to stifle. ;-) /be ___ es-discuss mailing list

Re: Futures

2013-04-20 Thread Brendan Eich
Anne van Kesteren wrote: On Thu, Apr 18, 2013 at 2:00 PM, Jorgejo...@jorgechamorro.com wrote: You guys ought to be deeply embarrassed because HTML5 is *not* your child. I don't even http://www.whatwg.org/, remember? https://brendaneich.com/2004/06/the-non-world-non-wide-non-web/,

Re: Modules: Curly Free

2013-04-20 Thread Brendan Eich
Andreas Rossberg wrote: I don't understand. Are you saying that it has a higher cost to standardize a trivial convention than it is to standardize additional ad-hoc syntax? Answering for Dave: you bet it is. The cost of the former is born by everyone in a large-N community who must learn the

Re: Futures

2013-04-20 Thread Brendan Eich
Tab Atkins Jr. wrote: It would be so nice if JS had multiple return values, so we could let cancellable future-returning APIs just return a naked resolver as their second value, Hello, destructuring: let{ proxy, revoke} = Proxy.revocable(target, handler); from

Re: Futures

2013-04-20 Thread David Bruant
Le 20/04/2013 15:17, Brendan Eich a écrit : Tab Atkins Jr. wrote: It would be so nice if JS had multiple return values, so we could let cancellable future-returning APIs just return a naked resolver as their second value, Hello, destructuring: let{ proxy, revoke} = Proxy.revocable(target,

Re: Futures

2013-04-20 Thread Brendan Eich
David Bruant wrote: Le 20/04/2013 15:17, Brendan Eich a écrit : Tab Atkins Jr. wrote: It would be so nice if JS had multiple return values, so we could let cancellable future-returning APIs just return a naked resolver as their second value, Hello, destructuring: let{ proxy, revoke} =

Re: Futures

2013-04-20 Thread Brendan Eich
Brendan Eich wrote: Can't we all just get alone? Oh, the irony! Typo, not snark :-). /be ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss

Re: First crack at a Streams proposal

2013-04-20 Thread Isaac Schlueter
I'm not seeing what in this proposal can't be implemented in JavaScript as it is today. Is there an implementation of this somewhere? Are there any programs that use these streams? On Mon, Apr 15, 2013 at 9:19 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Mon, Apr 15, 2013 at 5:26 PM,

Re: Modules: Curly Free

2013-04-20 Thread Kevin Smith
The cost of the former is born by everyone in a large-N community who must learn the trivial convention. The cost of the latter is born by we few TC39ers and JS implementors, who can make that sacrifice. Yeah, but it's a false dilemma, I think. No trivial naming convention is necessary, and

Re: Futures

2013-04-20 Thread Tab Atkins Jr.
On Sat, Apr 20, 2013 at 6:17 AM, Brendan Eich bren...@mozilla.com wrote: Tab Atkins Jr. wrote: It would be so nice if JS had multiple return values, so we could let cancellable future-returning APIs just return a naked resolver as their second value, Hello, destructuring: let{ proxy,

Re: First crack at a Streams proposal

2013-04-20 Thread Tab Atkins Jr.
On Sat, Apr 20, 2013 at 9:19 AM, Isaac Schlueter i...@izs.me wrote: I'm not seeing what in this proposal can't be implemented in JavaScript as it is today. Is there an implementation of this somewhere? Are there any programs that use these streams? This is a fully-general counter-argument

Re: First crack at a Streams proposal

2013-04-20 Thread Bjoern Hoehrmann
* Tab Atkins Jr. wrote: On Sat, Apr 20, 2013 at 9:19 AM, Isaac Schlueter i...@izs.me wrote: I'm not seeing what in this proposal can't be implemented in JavaScript as it is today. Is there an implementation of this somewhere? Are there any programs that use these streams? This is a

Re: First crack at a Streams proposal

2013-04-20 Thread Tab Atkins Jr.
On Sat, Apr 20, 2013 at 1:23 PM, Bjoern Hoehrmann derhoe...@gmx.net wrote: * Tab Atkins Jr. wrote: On Sat, Apr 20, 2013 at 9:19 AM, Isaac Schlueter i...@izs.me wrote: I'm not seeing what in this proposal can't be implemented in JavaScript as it is today. Is there an implementation of this

Re: First crack at a Streams proposal

2013-04-20 Thread Sean Silva
On Sat, Apr 20, 2013 at 3:47 PM, Tab Atkins Jr. jackalm...@gmail.comwrote: On Sat, Apr 20, 2013 at 9:19 AM, Isaac Schlueter i...@izs.me wrote: I'm not seeing what in this proposal can't be implemented in JavaScript as it is today. Is there an implementation of this somewhere? Are there

B.3.1 The __proto__ pseudo property

2013-04-20 Thread Axel Rauschmayer
__proto__ can be globally switched off by deleting Object.prototype.__proto__. I’m assuming that that is useful for security-related applications (Caja et al.). But I’m wondering: doesn’t that go too far? I’m seeing three ways of using __proto__: 1. Read the [[Prototype]] of an object. Already

Re: B.3.1 The __proto__ pseudo property

2013-04-20 Thread Andrea Giammarchi
+1 to everything, but I would drop the literal too instead of promoting two ways to do things. off topic: I also hope __proto__ will be spec'd with a descriptor that exposes the setter as it is now in Firefox, and not only the getter, as conceptual language nonsense/restriction. On Sat, Apr 20,

Re: Futures

2013-04-20 Thread Jonas Sicking
On Sat, Apr 20, 2013 at 1:54 PM, Brendan Eich bren...@mozilla.com wrote: Tab Atkins Jr. wrote: This group is public-script-coord, which we're already having the discussion on, so... success! THE SYSTEM IS WORKING! Sorry for catch-up replies, I will try to stifle. ;-) For what it's worth,

Re: First crack at a Streams proposal

2013-04-20 Thread Tab Atkins Jr.
On Sat, Apr 20, 2013 at 4:13 PM, Sean Silva sil...@purdue.edu wrote: On Sat, Apr 20, 2013 at 3:47 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Sat, Apr 20, 2013 at 9:19 AM, Isaac Schlueter i...@izs.me wrote: I'm not seeing what in this proposal can't be implemented in JavaScript as it

Re: Modules: Curly Free

2013-04-20 Thread David Herman
On Apr 20, 2013, at 10:36 AM, Kevin Smith zenpars...@gmail.com wrote: Yeah, but it's a false dilemma, I think. No trivial naming convention is necessary, and no ad-hoc syntax is necessary. Asking the developer to name a thing with a well-chosen identifier is completely reasonable in my

Re: First crack at a Streams proposal

2013-04-20 Thread Sean Silva
On Sat, Apr 20, 2013 at 8:10 PM, Tab Atkins Jr. jackalm...@gmail.comwrote: On Sat, Apr 20, 2013 at 4:13 PM, Sean Silva sil...@purdue.edu wrote: On Sat, Apr 20, 2013 at 3:47 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Sat, Apr 20, 2013 at 9:19 AM, Isaac Schlueter i...@izs.me wrote:

Re: Modules: Curly Free

2013-04-20 Thread David Herman
On Apr 20, 2013, at 5:17 AM, Brendan Eich bren...@mozilla.com wrote: Andreas Rossberg wrote: I don't understand. Are you saying that it has a higher cost to standardize a trivial convention than it is to standardize additional ad-hoc syntax? Answering for Dave: you bet it is. The cost

Re: Modules: Curly Free

2013-04-20 Thread Kevin Smith
I don't really know how to answer opinions like this. It just seems like... it's fine that you feel that way, but kind of irrelevant. Significant communities of JS developers have already spoken -- in words and in precedent -- that they disagree with you. So for both smoother

Re: Futures

2013-04-20 Thread Kevin Smith
In particular, I'd love to get TC39 to look over the is-a-future issue. I'm pretty worried about the current solution which makes then a magic property name. It's less bad than __proto__ is, but not by a lot. I agree - I'm putting together a list of a few issues with Futures that I would

Re: Modules: Curly Free

2013-04-20 Thread Brendan Eich
Kevin Smith wrote: - Supporting anonymous exports makes the model a little more complicated. We can quantify that with number of productions, or lines of pseudo-code, or whatever you like, but that's a fact. All else being equal, simple is better. You're counting the wrong beans. Languages

ES6,ES7,ES8 and beyond. A Proposed Roadmap.

2013-04-20 Thread Mark S. Miller
(Thanks to Rick Waldron and Brendan Eich for encouragement towards posting this) As we see on es-discuss, the pressure towards standardizing soon various features currently absent from ES6 is increasing. Rather than stretch ES6, I think we should work towards completing ES6 asap, and then proceed

Re: Modules: Curly Free

2013-04-20 Thread Kevin Smith
No, the argument is that users shouldn't have to name the anonymous export and import by that name. I understand, I'm just not convinced. I'm still on the fence. { Kevin } ___ es-discuss mailing list es-discuss@mozilla.org

RE: ES6,ES7,ES8 and beyond. A Proposed Roadmap.

2013-04-20 Thread Domenic Denicola
This looks lovely. The only thing I'd want to add: we need integers! And generally better numeric types. From speaking to developers on the ground, this is the biggest missing language feature they see (that isn't already addressed in ES6). I know Brendan has made some moves in this direction