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.
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.
提到Javascript相关的书籍,有一本书是绕不过去的,那就是Douglas Crockford的《Javascript:the Good Parts》。虽然如今读来,书中的一些最佳实践,毒瘤糟粕看似都是一些Javascript使用的常识,但这不也正是他们早年布道的结果么?但是我相信读罢之后肯定还是会有收获的,比如...
評分干活满满,是JS进阶的一本好书。美中不足的是太老了,希望能再版。 以前读过一次,这两天又读了一次,感受有所不同,赶紧记录下来: 我的读书笔记
評分在使用 Javascript 语言十几年后,回过头来看一本关于它的语法书,还能了解到不少之前没有关注到的细节,并加深对很多概念的认识,不能不佩服 Douglas Crockford 的功力。 就如其“最被低估的编程语言”称号所述,Javascript 实际上是一门非常优秀的语言,看似熟悉的语...
評分第一本书 :JavaScript高级程序设计 第二本书:ppk 谈 JavaScript 这是第三本
評分第一本书 :JavaScript高级程序设计 第二本书:ppk 谈 JavaScript 这是第三本
豆瓣評分有點兒虛高。作者的代碼沒有起到模範作用。
评分再讀一遍好理解很多
评分還行,ES3有點老
评分DC這本書 奠定瞭coffeescript的曆史地位
评分關於JS語言,雞肋和bug的地方太多,每個瀏覽器又都有自己的實現標準,如果要寫個移植性的js,其實更需要事實的標準。the good parts這本書提供瞭js的子集,Douglas Crokford在書中嚮你展示瞭js優雅高效的地方,如何避開語言本身各種缺陷......大師的作品,值得一讀
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有