Echo JS 0.11.0

<~>

MaxArt comments

MaxArt 3309 days ago. link 1 point
I actually had plenty of experience with that type of clients, sadly. I've never gone back to IE6 fortunately, but I have with IE7, and that felt terribly outdated right back then.
Oh, sure, Microsoft was still releasing security patches. They could hide behind that. But now it doesn't, and keeping your software outdated, in the bliss of a false sense of security, is plain stupid.
The point is: stop working for them. You already know that you're not going to get anything good from such clients, and you'll find yourself regretting of not having asked for more money.
MaxArt 3310 days ago. link 1 point
My point still stands. The problem is with commissioners who don't understand that keeping your software outdated leads only to sub-optimal experience and/or extended development times.
Installing Chrome or Firefox beside IE6 (if they *really* want to use some legacy ActiveX web app) is free, feasible, fast and just a one-time investment for the administrators.
This is why we, as developers, should try to convince them.
MaxArt 3312 days ago. link 1 point
"The two latter work with IE6+, which is a big advantage nowadays."

This is why we can't have nice things.

If you're to develop a web application for the modern world, let the users get a browser worth of a web application. Still giving support to IE6 in 2016 is what kept web development back for so long.
MaxArt 3312 days ago. link 2 points
"It harnesses a number of modern open-source libraries and frameworks including RequireJS, Knockout, jQuery, and Cordova"

Uh, if you say so.
MaxArt 3312 days ago. link 1 point
Indeed, it's one of the main arguments about the future development of JS promises.

Also, `setTimeout` should be updated to become a promise (alas, won't happen because `setInterval` can't be promisified too).
MaxArt 3314 days ago. link 1 point
Would be nice to have a `wake` function that cancels the timeout, rejecting the promise. Something like Angular's $timeout.
But I guess you need at least a bunch of lines for that.
MaxArt 3314 days ago. link 1 point
Actually the object spread operator is part of ESNext, so no need to bring JSX up. And it's *so* much better than Object.assign to create immutable objects.
Basically,

    const foo = { ...bar };

is equivalent to

    const foo = Object.assign({}, bar);

but the former is more compact and readable than the latter.
MaxArt 3324 days ago. link 1 point
If you mean that a language is a tool to program a computer so we're safe from using machine code directly, you may be right. But it's not what's commonly intended as a "development tool".
In the case of JavaScript, moreover, the language actually represents our final product, as the code is interpreted and compiled by the client on run-time.
MaxArt 3324 days ago. link 2 points
I still find quite weird that languages have to adapt to *tools* and not vice versa.
Trailing commas still look like sloppy code to me.
MaxArt 3325 days ago. link 3 points
That "holier-than-you" vibe we recently got from someone who didn't want to become a React Native developer, for example.
[more]