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.
##这本书在离开深圳之前送给了闭小姐,希望能在她手上继续发光发热。 这本书是写过一段时间的 js 之后,才能理解其中的金玉良言。就如同自己真正写过一段时间的 java 之后,才能真正理解 《effective java》 接触过多门编程语言,有时候会在想,编程语言之间的界限是什么?我们用...
评分 评分##要是每门语言都有这么一本小薄书就好了(
评分##想买中文的,但是在网上书店都没有找到,只有孔夫子旧书店找到了,目前还没有到货,于是慢慢啃英文的,又有自己英文一般,只能借助google 翻译勉为其难,目前只在看第一遍,总体感觉,语言的障碍很到,作者其实很多地方都用很口语化的语言表达,但是由于自己英语水平有...
评分##重新读了一遍。当年读的时候真的什么也不懂,只觉得这本书里的JS似乎更清晰。 重读的最大收获不是在于了解到一些好的习惯和坏语法特性的处理方案,而是在于发现:可以设计语言的子集来形成一种代码规范。 类型系统,代码规范的文档,代码评审的流程,都是规避错误的一种方法,...
评分 评分##在使用 Javascript 语言十几年后,回过头来看一本关于它的语法书,还能了解到不少之前没有关注到的细节,并加深对很多概念的认识,不能不佩服 Douglas Crockford 的功力。 就如其“最被低估的编程语言”称号所述,Javascript 实际上是一门非常优秀的语言,看似熟悉的语...
评分 评分##js之所以被人误解,有些人推崇,有些人瞧不上。 是因为: 在语言设计上,其借鉴了多种语言,函数式和命令式语言都有,原型链式语言,多年后,在我了解了sicp后,才发现,原来js一些设计思路,如此的倾向lisp js的创造者应该是语言的专家,通晓编程语言的设计,但当年可能时间...
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.idnshop.cc All Rights Reserved. 静思书屋 版权所有