Re: Cascade operator proposal — native fluent interfaces

2018-11-12 Thread kai zhu
quick PSA: jslint recently (2018-09-27) added warning against "." delimited, per-line method-chaining [1] ```javascript /*jslint node*/ "use strict"; var str = "hello world"; // jslint - no warnings console.log( str.replace( "hello", "goodbye" ).replace( "world",

Re: Cascade operator proposal — native fluent interfaces

2018-11-12 Thread Michael Haufe
It didn't survive the github migration AFAICT. There is no proposal listed on the repo. https://web.archive.org/web/20141214124428/http://wiki.ecmascript.org/doku.php?id=strawman:batch_assignment_operator https://esdiscuss.org/topic/batch-assignment-functions

Re: Cascade operator proposal — native fluent interfaces

2018-11-12 Thread T.J. Crowder
On Sat, Nov 10, 2018 at 5:49 PM Timothy Johnson wrote: It's **great** to see a proposal backed by an example implementation. :-) I suggest adding some explanation to the proposal about how your example knows the `..d()` applies to `foo` and not to `c`. From the Dart documentation, I'd *guess*