When comparing 30 seconds of code vs JavaScript: The Good Parts, the Slant community recommends 30 seconds of code for most people. In the question“What are the best resources to learn JavaScript?” 30 seconds of code is ranked 4th while JavaScript: The Good Parts is ranked 6th. The most important reason people chose 30 seconds of code is:
Main selling point of the project is that you can learn some useful techniques and tricks in 30 seconds or less.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Short and sweet
Main selling point of the project is that you can learn some useful techniques and tricks in 30 seconds or less.
Pro Lots of examples
Over 300 code snippets.
Pro ES6
Uses the latest stable features of ES6 to teach developers how to write modern code.
Pro Functional-style code
The project's code examples follow best practices for functional programming.
Pro Explains what makes JS confusing and how to go about it
JS can be a confusing language and often provides difficulty writing good code that uses objects and methods. Crockford explains why that is and how to think about the language to avoid confusion.
Pro Good for intermediate programmers
The book requires basic understating of how programming works and even some understanding of JavaScript itself.
Cons
Con Not production-ready
A few of the code examples are not ready for production, but they can easily be made into production-ready methods with some tweaks. The library has a stable release as of August 2018.
Con Lack of consistency
Where some parts of the book cover very basic concepts, other parts expect at least an intermediate understanding on JavaScript. There is a lack of consistency, causing some confusion as to who the book is aimed at.