News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by whostolemyhat on Monday May 17, 2021 @06:17AM (#27181870)
> There’s a reason my copy of “JavaScript: The Good Parts” is extremely slim next to its sibling, “JavaScript: The Definitive Guide”.

Because one's a style guide and one's a complete API reference?

Re:Modern Javascript: Everything you missed over the last 10... by danielbarla on Monday May 17, 2021 @08:57AM (#27182878)
Even as a style guide, it's unnecessarily terse in some cases. IIRC, there's a line that says (paraphrasing):

> Don't use continue. I've never seen a loop with a continue that wouldn't be better without it.

And that's it. No examples, no objective criteria, we're just supposed to take the man at his word on this. Whether or not I agree with this particular case, I don't enjoy argument from authority in most forms, especially not in one where you are supposed to learn about a better style of programming.