Re: Importing global into modules.

2014-10-08 Thread A Matías Quezada
I like this idea mainly because it will allow us to create modules that explicitly define every used reference. This will help tooling detect exactly the source of every value we use. --- A. Matías Quezada Senior Javascript Developer amati...@gmail.com 2014-10-05 17:51 GMT+02:00 Brian Di Palma

Re: Math.TAU

2014-07-03 Thread A Matías Quezada
? there is no reference to the file where the variable is created. Sounds like create a global variable, we know the consequences this has for readability and maintainability. --- A. Matías Quezada Senior Javascript Developer amati...@gmail.com 2014-07-03 9:47 GMT+02:00 Thaddee Tyl thaddee

Re: Math.TAU

2014-07-03 Thread A Matías Quezada
PS: Also in ES6 modules it will be not possible to extend module Math. --- A. Matías Quezada Senior Javascript Developer amati...@gmail.com 2014-07-03 15:02 GMT+02:00 A Matías Quezada amati...@gmail.com: Extending host objects? I don't think that favors readability and maintainability

Re: Math.TAU

2014-07-03 Thread A Matías Quezada
whether a module object is an ordinary or an exotic object. Whether properties are accessor or defined via [[Get]], etc. But for now the draft says they're not extensible. --- A. Matías Quezada Senior Javascript Developer amati...@gmail.com 2014-07-03 16:15 GMT+02:00 C. Scott Ananian ecmascr

Re: Math.TAU

2014-07-03 Thread A Matías Quezada
Till: we can discuss that on another thread, we are missing the main point here... --- A. Matías Quezada Senior Javascript Developer amati...@gmail.com 2014-07-03 17:09 GMT+02:00 Till Schneidereit t...@tillschneidereit.net: That doesn't mean that you cannot extend builtins - if you don't

Re: Math.TAU

2014-07-02 Thread A Matías Quezada
for a recurrent issue. --- A. Matías Quezada Senior Javascript Developer amati...@gmail.com 2014-07-02 11:14 GMT+02:00 Alex Kocharin a...@kocharin.ru: If writing 'foo'.startsWith('foo') instead of 'foo'.indexOf('foo')==0 worth extending String's prototype (which IS a big deal), another math constant

Re: The Existential Operator

2014-05-20 Thread A Matías Quezada
I think the current use of this operator will only make sense if the operator interrupts the whole sentence so a?.b.c Will be the same as a a.b.c And a?().b?.c?.d Will be same as a (x = a(), x.b (x.b.c x.b.c.d)) --- A. Matías Quezada Senior Javascript Developer amati