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进阶的一本好书。美中不足的是太老了,希望能再版。 以前读过一次,这两天又读了一次,感受有所不同,赶紧记录下来: 我的读书笔记
評分本来读非母语就是个挑战~偏偏作者又是个典型的代码怪老头(无贬义...)~懒得用太亲切太絮叨的语言把问题给你解释得酣畅淋漓~导致我第一遍读的时候卡到函数那里就弃权了...后来读过了Pro Javascript Techniques(当然是中文版)才对javascript的原型继承的破事稍微有了点想法,今天才...
評分介绍的东西是相当好的,即便我没完全看明白,但我知道它对js程序员的意义,乃至js这门语言的意义. 但是大牛确实很牛,但是不愿意详细描述,所以呢,不怎么建议很新的新手看这本书,在有了一点程度再来看这本书效果将相当好. 个人愚见..
評分本书的作者Douglas Crockford是JavaScript开发社区最知名的权威,JavaScript的发明人Brendan Eich说他是“Yoda of lambda programming and JavaScript(lambda编程和JavaScript的精神领袖)”。他不仅仅给我们带来了JSON、JSLint、JSMin和ADSafe等等在JavaScript开发领域应用广...
要是每門語言都有這麼一本小薄書就好瞭(
评分再讀一遍好理解很多
评分關於JS語言,雞肋和bug的地方太多,每個瀏覽器又都有自己的實現標準,如果要寫個移植性的js,其實更需要事實的標準。the good parts這本書提供瞭js的子集,Douglas Crokford在書中嚮你展示瞭js優雅高效的地方,如何避開語言本身各種缺陷......大師的作品,值得一讀
评分比較深入的講解JavaScript的使用習慣。這本書需要一定的基礎。如果讀者有函數式編程的基礎,會覺得這本書的建議是些理所當然的。
评分:無
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有