发表于2025-02-12
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是个难用的语言
评分##这本书彻底改变了我对javascript的认识,直到读完,我才发现自己以前的理解完全是肤浅、错误的,我发现了自己对于javascript的无知。这本书和《javascript权威指南》相比,既有前者的权威性,又有自己独特的精简、凝练性。相比于《javascript权威指南》,对有其他语言...
评分##这本书,我断断续续地读了一个星期。 初期由于内容简单+作者文笔流畅、知识点讲解到位,有种痛快的感觉,读着甚至都不愿放下。 我是在边等人,边看的这本书,等了接近2小时,我坐在车上看的这本书,完全没有感到无趣想刷会儿手机。 但是后来,越往后读,就越迷。 1. 铁路图过于...
评分 评分##提到Javascript相关的书籍,有一本书是绕不过去的,那就是Douglas Crockford的《Javascript:the Good Parts》。虽然如今读来,书中的一些最佳实践,毒瘤糟粕看似都是一些Javascript使用的常识,但这不也正是他们早年布道的结果么?但是我相信读罢之后肯定还是会有收获的,比如...
评分 评分 评分##一本超级大牛教你怎么用JavaScript的书
评分##重新读了一遍。当年读的时候真的什么也不懂,只觉得这本书里的JS似乎更清晰。 重读的最大收获不是在于了解到一些好的习惯和坏语法特性的处理方案,而是在于发现:可以设计语言的子集来形成一种代码规范。 类型系统,代码规范的文档,代码评审的流程,都是规避错误的一种方法,...
JavaScript mobi epub pdf txt 电子书 格式下载 2025