When comparing The Pragmatic Programmer vs JavaScript: The Good Parts, the Slant community recommends The Pragmatic Programmer for most people. In the question“What are the best beginner's books for programming?” The Pragmatic Programmer is ranked 2nd while JavaScript: The Good Parts is ranked 7th. The most important reason people chose The Pragmatic Programmer is:
Which helps you with writing flexible and adaptable code.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Explains the mechanics of programming
Which helps you with writing flexible and adaptable code.
Pro Already Classic
Straight forward explanation of basic algorithms
Pro Analyses the core process without trying to sell any particular methodology
Pro Clean and straight to the point list of things to do
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 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.