Re: Thread about ES6 on reddit

2014-08-12 Thread Christoph Martens
On 12.08.2014 11:01, Andrea Giammarchi wrote: I see Python 3 as an excellent example plus Mozilla has JavaScript versioning since quite ever plus we have WebComponents and the ability to put in place or flags in nodejs ... you name it, we had way to think about the "how to" but it was possible

Re: Thread about ES6 on reddit

2014-08-11 Thread Christoph Martens
On 10.08.2014 22:24, Axel Rauschmayer wrote: http://www.reddit.com/r/javascript/comments/2d4wed/can_you_explain_to_me_something_about_es6/ This should please people worried about ES6 being perceived negatively: the tone in this thread is quite upbeat. -- Dr. Axel Rauschmayer a...@rauschma.d

Re: Referencing `super`

2014-08-06 Thread Christoph Martens
On 06.08.2014 06:38, Rick Waldron wrote: On Tuesday, August 5, 2014, Domenic Denicola mailto:dome...@domenicdenicola.com>> wrote: I sympathize; I have always found the fact that bare `super()` works to be confusing. When a bare super() call appears in a method (whether constructor

Re: "use es6"; Any plans for such a mode?

2014-07-29 Thread Christoph Martens
On 29.07.2014 21:20, Brendan Eich wrote: Christoph Martens wrote: Also, you could solve the typeof null; problem with such a thing without invalidating legacy code. You missed the whole previous lifetime many of us lived :-P. http://esdiscuss.org/topic/es6-doesn-t-need-opt-in (1JS o.p

"use es6"; Any plans for such a mode?

2014-07-29 Thread Christoph Martens
Hey all, I just read a bit about the ParallelJS project, Typed Objects (StructType) and was curious if I could implement bindings for v8 today. Link to wiki document: http://wiki.ecmascript.org/doku.php?id=harmony:typed_objects I realized that I don't know what to do if someone has code li

Re: String.prototype.replace() problems with JSON.stringify() and serialization of Objects

2014-07-28 Thread Christoph Martens
On 28.07.2014 17:24, Rick Waldron wrote: On Mon, Jul 28, 2014 at 11:16 AM, Boris Zbarsky > wrote: On 7/28/14, 11:09 AM, Rick Waldron wrote: var y = x.replace('{{blob}}', function() { return data; }); In fairness, that's the

String.prototype.replace() problems with JSON.stringify() and serialization of Objects

2014-07-28 Thread Christoph Martens
Hey everyone, I wanted to ask if there's a plan to offer something like String.prototype.replace(search, replace, stringmode) as an alternative API for String.prototype.replace()? The problem I'm refering here is that the ECMA spec section 15.5.4.11 is using the replaceValue as a string tha

Re: Re: standardizing Error.stack or equivalent

2014-04-15 Thread Christoph Martens
Hey guys, I wanted to chime in on the discussion about Error.stack standardization. For my lil' game engine (http://lycheejs.org) I tried a couple things out how a custom Debugger (for a binary WebSocket protocol) can be implemented properly. I need to write an own debugger, because I'm using