發表於2025-05-25
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 下載 mobi pdf epub txt 電子書 格式 2025
JavaScript 下載 mobi epub pdf 電子書##應該沒完全懂。
評分##js之所以被人誤解,有些人推崇,有些人瞧不上。 是因為: 在語言設計上,其藉鑒瞭多種語言,函數式和命令式語言都有,原型鏈式語言,多年後,在我瞭解瞭sicp後,纔發現,原來js一些設計思路,如此的傾嚮lisp js的創造者應該是語言的專傢,通曉編程語言的設計,但當年可能時間...
評分 評分豆瓣評分有點兒虛高。作者的代碼沒有起到模範作用。
評分##當一個作者能把一個語言的醜陋一麵揭露齣來,就說明他對這門語言的功力不淺。同樣的例子就是大名鼎鼎的THINKING IN JAVA 作者是對美感有追求的人,這從每個章節一開始的莎士比亞選段而用詞可見一斑(中文版的翻譯可能會比較痛苦 嗬嗬)。當然,如果不是這樣他也不會去寫這本...
評分 評分 評分##應該沒完全懂。
評分JavaScript mobi epub pdf txt 電子書 格式下載 2025