书籍 JavaScript的封面

JavaScript

Douglas Crockford

出版社

Yahoo Press

出版时间

2008-04-30

ISBN

9780596517748

评分

★★★★★
书籍介绍

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的书
:无
https://web.stanford.edu/class/cs142/ 参考书,学习一波web application
书是好书,但是不建议任何人通过book来学语言,特别是js这种活着的语言
读了前面一半了,感觉可能比较适合新手,关于提升代码性能的需求不会很好地被满足。 比如,后面关于bad parts的部分也就简单的描述某属性的缺点,官方文档也会有,总觉得内容很浅(不过好在汇总了下)。而且作者给的代码示例也有一些可优化的点。
像是一位高手学习 JS 后总结出来的精炼笔记,没有习题,罗列居多,夹杂注解。我当时看这书时完全没有 JS 的基础,所以效果很差。学习一门编程语言,还是找有习题(和讲解)的书,边看边练,效果才好。日后可以回头看此类精炼书,温故知新。
压泡面的书
Z-Library