發表於2024-10-06
JavaScript pdf epub mobi txt 電子書 下載
Douglas Crockford is a Senior JavaScript Architect at Yahoo!. He is the maintainer of the JSON format, and a regular speaker at conferences on advanced JavaScript topic. He is also on the JavaScript 2.0 committee at ECMA.
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. This authoritative book offers a detailed explanation of the features that make JavaScript an outstanding object-oriented programming language, and warns you about the bad parts.
In the process, JavaScript: The Good Parts defines a subset of JavaScript that's more reliable, readable, and maintainable than the language as a whole. Author Douglas Crockford, a member of JavaScript 2.0 committee at ECMA, is considered by many people in the development community to be the JavaScript expert.
A beautiful, elegant, lightweight and highly expressive language lies buried under a steaming pile of good intentions and blunders, he explains. The very good ideas include functions, loose typing, dynamic objects, and an expressive object literal notation. Awful ideas include a programming model based on global variables. With JavaScript: The Good Parts, you can release this elegant programming language from its old shell, and create more maintainable, extensible, and efficient code.
The book's topics include:
* Syntax
* Objects
* Functions
* Inheritance
* Arrays
* Regular expressions
* Methods
* Style
* Beautiful features
Appendices summarize JavaScript's bad parts and awful parts. But the greatest benefit of studying the good parts is that you can avoid the need to unlearn the bad parts. If you want to learn more about the bad parts and how to use them badly, consult any other JavaScript book.
JavaScript is the language of the Web -- the only language found in all browsers -- so avoiding it altogether is not an alternative. But, whether you're managing object libraries or just trying to get Ajax to run fast, Crockford's guidance in JavaScript: The Good Parts will help you create truly effective JavaScript code.
##提到Javascript相關的書籍,有一本書是繞不過去的,那就是Douglas Crockford的《Javascript:the Good Parts》。雖然如今讀來,書中的一些最佳實踐,毒瘤糟粕看似都是一些Javascript使用的常識,但這不也正是他們早年布道的結果麼?但是我相信讀罷之後肯定還是會有收獲的,比如...
評分##重新讀瞭一遍。當年讀的時候真的什麼也不懂,隻覺得這本書裏的JS似乎更清晰。 重讀的最大收獲不是在於瞭解到一些好的習慣和壞語法特性的處理方案,而是在於發現:可以設計語言的子集來形成一種代碼規範。 類型係統,代碼規範的文檔,代碼評審的流程,都是規避錯誤的一種方法,...
評分 評分##類似於 javascript 的《UML Distilled》, 介紹javascript 最好和最有用的部分。
評分##要是每門語言都有這麼一本小薄書就好瞭(
評分##這本書在離開深圳之前送給瞭閉小姐,希望能在她手上繼續發光發熱。 這本書是寫過一段時間的 js 之後,纔能理解其中的金玉良言。就如同自己真正寫過一段時間的 java 之後,纔能真正理解 《effective java》 接觸過多門編程語言,有時候會在想,編程語言之間的界限是什麼?我們用...
評分 評分豆瓣評分有點兒虛高。作者的代碼沒有起到模範作用。
評分JavaScript pdf epub mobi txt 電子書 下載