JavaScript

Most programming languages contain good and bad parts, but JavaScript has than its share of the bad, having been developed and released in a hurry before it could be refined This authoritative book scrapes away these bad features to reveal a subset of JavaScript that s reliable, readable, and maintainable than the language as a whole a subset you can use to create truly extensible and efficient code.Considered the JavaScript expert by many people in the development community, author Douglas Crockford identifies the abundance of good ideas that make JavaScript an outstanding object oriented programming language ideas such as functions, loose typing, dynamic objects, and an expressive object literal notation Unfortunately, these good ideas are mixed in with bad and downright awful ideas, like a programming model based on global variables.When Java applets failed, JavaScript became the language of the Web by default, making its popularity almost completely independent of its qualities as a programming language In JavaScript The Good Parts, Crockford finally digs through the steaming pile of good intentions and blunders to give you a detailed look at all the genuinely elegant parts of JavaScript, including SyntaxObjectsFunctionsInheritanceArraysRegular expressionsMethodsStyleBeautiful featuresThe real beauty As you move ahead with the subset of JavaScript that this book presents, you ll also sidestep the need to unlearn all the bad parts Of course, if you want to find out about the bad parts and how to use them badly, simply consult any other JavaScript book.With JavaScript The Good Parts, you ll discover a beautiful, elegant, lightweight and highly expressive language that lets you create effective code, whether you re managing object libraries or just trying to get Ajax to run fast If you develop sites or applications for the Web, this book is an absolute must. Best Download eBook JavaScript Author Douglas Crockford – kino-fada.fr A short, dense book, describing a subset of Javascript and distinguishing which parts of the language should be used and which not The author wrote JSLint, a widely used tool for enforcing his preferences on your scripts The preferences he wrote into JSLint are reflected here.Some of his opinions seem obsessive and eccentric it s not OK to write i , but others are invaluable For example, you should make a habit of following the Kernighan Ritchie style of braces that is, you sho A short, dense book, describing a subset of Javascript and distinguishing which parts of the language should be used and which not The author wrote JSLint, a widely used tool for e...Crockford s book is already considered one of the classic JS books and I agree Not because its complete it only touches ECMAScript core, not even DOM , or particularly good at making things seem simple it probably makes them look overcomplicated Its because it approaches JavaScript in a completely different way than probably any other book you ve read It broadens your horizons as a JS developer, makes you think differently And as soon as you finish it, you haven t only learned a few facts Crockford s book is already considered one of the classic JS books and I agree Not because its complete it only touches ECMAScript core, not even DOM , or particularly good at making things seem simple it probably makes them look overcomplicated Its because it approaches JavaScript in a completely different way than probably any other book you ve read It broadens your horizons as a JS developer, makes you think differently And as soon as you finish it, you haven t only learned a few...For an experienced developer who s hacked things together while glancing at an online reference, JavaScript The Good Parts seems like a good place to start learning the language properly As the title indicates, the book consists of Crockford s opinions about how to use JavaScript s better features and avoid the bad ones Being a relative JS novice, it s hard for me to evaluate his judgements, but I m glad to now have at least someone s best practices to work with Crockford s descriptions of J For an experienced developer who s hacked things together while glancing at an online reference, ...Returning to serious JS programming after a long hiatus When you pick up the rhino book O Reilly s definitive tome on JS and thumb through it, you notice that it is written from the perspective of JS being introduced to the industry It s all functional programming, browser oriented, and thought of as an API to make the monkey dance , rather than a serious programming language.This book takes the opposite view in nearly every way It s written from the perspective of someone who has lived wi Returning to serious JS programming after a long hiatus When you pick up the rhino book O Reilly s definitive tome on JS and thumb through it, you notice that it is written from the perspective of JS being introduced to the industry It s all functional programming, browser oriented, and thought of as an API to make the monkey dance , rather than a serious programming language.This book takes the opposite view in nearly every way It s written from the perspective of some...I don t think the importance of JavaScript in our current world can be overstated Nor can the work of Douglas Crockford to legitimize JavaScript by extracting and promoting subsets of the language which are brilliantly designed In the case of JSON, he recognized JavaScript s object notation as a wonderful and concise way to describe data structures In my opinion, JSON is vastly superior to XML in every way.I came to this book after watching Crockford s wonderful companion lecture at Google Te I don t think the importance of JavaScript in our current world can be overstated Nor can the work of Douglas Crockford to legitimize JavaScript by extracting and promoting subsets of the language which are brilliantly designed In the case of JSON, he recognized JavaScript s object notation as a wonderful and concise way to describe data structures In my opinion, JSON is vastly superior to XML in every way.I came to this book after watching Crockford s wonderful companion lecture at Google Tech Talks It s about 45 minutes long if you skip the introduction an...I don t understand the consistently high rating this book gets While the concept is excellent filet o javascript the execution has serious failings.It starts well with the early chapters but as soon as it reaches the thechallenging stuff clousures and prototypical inheritance I found myself having to reach for the superior Object Oriented JavaScript to understand what was being described each time.I don t care how many times you re read it per the author s admonition at the be I don t understand the consistently high rating this book gets While the concept is excellent filet o javascript the execution has serious failings.It starts well with the early chapters but as soon as it reaches the thechallenging stuff clousures and prototypical inheritance I found myself having to reach for the supe...As an experienced JavaScript programmer, I was looking around for introductory books for my friends who are just starting their programming journeys so this book came up in the usual lists of modern JavaScript books.This book was a huge disappointment The authors ability to turn even simple concepts into confusing railroad diagrams coupled with explanations that do not make any sense even to someone well versed in the subject is absolutely astounding It feels like the book doesn t quite know w As an experienced JavaScript programmer, I was looking around for introductory books for my friends who are just starting their programming journeys so this book came up in the usual lists of modern JavaScript books.This book was a huge disappointment The authors ability to turn even simple concepts into confusing railroad diagrams coupled with explanations that do not make any sense even to someone well versed in the subject is absolutely astounding It feels like the book doesn t quite know what it wants to be It starts with a disclaimer of not being intended for beginners and then proceeds to spend a long time explaining the syntax for white space, strings, numbers, if statements and while loops concepts anyone with even a few hours of programming experience would be familiar with Once it gets toadvanced material, it equally fails by introducing the concepts in a wa...Many programming books are funny because their authors make jokes Why s Poignant Guide to Ruby comes to mind Javascript The Good Parts, however, is the first programming book that has ever made me laugh out loud when the author wasn t telling a joke Case in point undefined and NaN are not constants They are global variables, and you can change their values That should not be possible, and yet it is Don t do it.Any developer who has ever written Javascript is likely to have been confound Many programming books are funny because their authors make jokes Why s Poignant Guide to Ruby comes to mind Javascript The Good Parts, however, is the first progr...4.0 Opened my eyes to how JavaScript really works, but had some bad bugsI ve been using JS for a while now, just throwing stuff together and getting things working, copying patterns observed elsewhere At times I saw some unfamiliar structures particularly of the anonymous functions that return functions getting invoked immediately variety, etc , but chose to ignore them All the while I assumed it was actually an OO language How wrong I was.This was quite helpful for someone familiar with 4.0 Opened my eyes to how JavaScript really works, but had some bad bugsI ve been using JS for a while now, just throwing stuff together and getting things working, copying patterns observed elsewhere At times I saw some unfamiliar structures particularly of the anonymous functions that return functions getting invoked immediately variety, etc , but chose to ignore...My new JavaScript reference This book takes a stand in defining the good features of JavaScript banning the rest as evil or not useful It even introduces a linter that enforces the above It does all of this in 150 pages or so The good parts are actually described in the first 100 pages That s it.The book is not for complete novices to programming e.g the while loop is explained in 2 lines Syntax diagrams are used to explain every ...

JavaScript
  • 09 February 2017
  • Paperback
  • 153 pages
  • 0596517742
  • Douglas Crockford
  • JavaScript