Echo JS 0.11.0

<~>

MaxArt comments

MaxArt 3521 days ago. link 0 point
Fair enough, the author is indeed male.
No need to use the genderless pronoun.
MaxArt 3525 days ago. link 1 point
If you want yourself banned, that's the spirit.
MaxArt 3525 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 3531 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 3535 days ago. link 1 point
It's also quite biased to a Chinese point of view.
MaxArt 3538 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 3542 days ago. link 1 point
The author should really, really care more about the grammar in their articles, and the overall readability.
MaxArt 3543 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 3550 days ago. link 1 point
Nice, it's always better when there's no need for harsh measures.
[more]