Hey everyone I just purchased the book JavaScript demystified to read and learn JavaScript but I just noticed that it was published in 2005 and it references netscape browsers and other "pratices" I believe are out dated like using the language attribute in the script tag and also not ending each line with a semicolon
My main question is has javascript changed so much since this book was published that reading this book not teach me what I need to know or could it still be a good reference?
Yes, the language has changed way too much in the past 6 years. All those changes I'm talking about here come along with ECMAscript edition 5 which is now pretty much available in any browser. If that is not covered in the book (I doubt it) its only good for the basic Javascript syntax.
However, there are "oldish" books which also do not cover ES5 but still are great to understand the language. I don't know the book in question, but still a hot candidate is "Javascript - the good parts" by Douglas Crockford.
Again, the basic Javascript syntax has not changed all that much, but there are TONS of new native methods / techniques which really are the future of this language.
Practical applications of JavaScript have absolutely changed. The language itself (syntax and semantics) have not changed hugely. Either way, there are almost certainly better references available these days.
Start with the top-notch online JS reference at the Mozilla Developer Network.
Then:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With