Echo JS 0.11.0

<~>

MaxArt comments

MaxArt 3302 days ago. link 1 point
If you want yourself banned, that's the spirit.
MaxArt 3303 days ago. link 3 points
There's literature from C# about abortion/cancelation of promises with throwing a special kind of errors turned out to be a mess.

For this reason, the ongoing rationale about cancelable  promises (https://github.com/tc39/proposal-cancelable-promises) focuses on cancel tokens, a new throwable class and even a new clause for `try`.

That being said, the title of the news and the gist is deceptive: requests aren't actually aborted, only ignored. The client will eventually get a response from the server.
MaxArt 3309 days ago. link 1 point
Nevermind those clumsy developers that included a built-in module in their package.json, but how could they have allowed a package name "fs" in the first place?
I am baffled that they don't have a list of reserved package names.
MaxArt 3312 days ago. link 1 point
It's also quite biased to a Chinese point of view.
MaxArt 3315 days ago. link 2 points
"Variable name validation can get tricky"

Huh, maybe, but the essential point is: what did you do to put yourself in the need of such non-trivial validation, and why?
Unless you're writing a Javascript minifier, that is.
MaxArt 3319 days ago. link 1 point
The author should really, really care more about the grammar in their articles, and the overall readability.
MaxArt 3320 days ago. link 1 point
Most answers are quite tricky.
Some are quite good because you really need your Javascript knowledge, even bleeding-edge features.
Others require to deeply know what's under the hood of Javascript engines, i.e. dig down into the specs. I'm not really fond of those.
But a nice distraction anyway.
MaxArt 3327 days ago. link 1 point
Nice, it's always better when there's no need for harsh measures.
MaxArt 3328 days ago. link 4 points
Ok, three times and they still don't get that this aggregator is for English only news.
Time to ban?
MaxArt 3342 days ago. link 2 points
This first part basically consists in setting up a development environment on Windows. Not a single line of JavaScript...

Also, I find the choice of Scoop as a package installer quite unusual, when alternatives like Chocolatey and NuGet are much more en vogue. But well, I guess avoiding a monoculture is good.

On the other hand, ConEmu is nice although I would have used Cmder (which is a wrapper for ConEmu).

What I'd *never* do is writing "jQuery" in all caps.
[more]