deopf.blogg.se

Javascript the good parts by douglas crockford
Javascript the good parts by douglas crockford









javascript the good parts by douglas crockford

Some of his opinions seem obsessive and eccentric (it's not OK to write "i++"?), but others are invaluable. The preferences he wrote into JSLint are reflected here. The author wrote JSLint, a widely-used tool for enforcing his preferences on your scripts. If you develop sites or applications for the Web, this book is an absolute must.Ī short, dense book, describing a subset of Javascript and distinguishing which parts of the language "should" be used and which not. 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. Of course, if you want to find out more about the bad parts and how to use them badly, simply consult any other JavaScript book. 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: The 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. 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. Unfortunately, these good ideas are mixed in with bad and downright awful ideas, like a programming model based on global variables. 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. This authoritative book scrapes away these bad features to reveal a subset of JavaScript that's more reliable, readable, and maintainable than the language as a whole-a subset you can use to create truly extensible and efficient code.

javascript the good parts by douglas crockford

JavaScript The Good Parts 1st Edition by Douglas Crockford - 2008.

javascript the good parts by douglas crockford

We will keep fighting for all libraries - stand with us. I have still have trouble in seeing how "We can compose objects out of sets of parts" using the eventuality function in the chapter.Most programming languages contain good and bad parts, but JavaScript has more than its share of the bad, having been developed and released in a hurry before it could be refined. JavaScript The Good Parts 1st Edition by Douglas Crockford - 2008.pdf. I was reading Ch 5.5 of the book in title.











Javascript the good parts by douglas crockford