Effective JavaScript

0
(0)

Effective JavaScript
 

  • Author:David Herman
  • Length: 240 pages
  • Edition: 1
  • Publisher: Addison-Wesley Professional
  • Publication Date: 2012-12-06
  • ISBN-10: 0321812182
  • ISBN-13: 9780321812186
  • Sales Rank: #338121 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript (Effective Software Development Series)

    In order to truly master JavaScript, you need to learn how to work effectively with the language’s flexible, expressive features and how to avoid its pitfalls. No matter how long you’ve been writing JavaScript code, Effective JavaScript will help deepen your understanding of this powerful language, so you can build more predictable, reliable, and maintainable programs.

    Author David Herman, with his years of experience on Ecma’s JavaScript standardization committee, illuminates the language’s inner workings as never before—helping you take full advantage of JavaScript’s expressiveness. Reflecting the latest versions of the JavaScript standard, the book offers well-proven techniques and best practices you’ll rely on for years to come.

    Effective JavaScript is organized around 68 proven approaches for writing better JavaScript, backed by concrete examples. You’ll learn how to choose the right programming style for each project, manage unanticipated problems, and work more successfully with every facet of JavaScript programming from data structures to concurrency. Key features include

    • Better ways to use prototype-based object-oriented programming
    • Subtleties and solutions for working with arrays and dictionary objects
    • Precise and practical explanations of JavaScript’s functions and variable scoping semantics
    • Useful JavaScript programming patterns and idioms, such as options objects and method chaining
    • In-depth guidance on using JavaScript’s unique “run-to-completion” approach to concurrency

    “Living up to the expectation of an Effective Software Development Series programming book, Effective JavaScript by Dave Herman is a must-read for anyone who wants to do serious JavaScript programming. The book provides detailed explanations of the inner workings of JavaScript, which helps readers take better advantage of the language.”

    —Erik Arvidsson, senior software engineer

    “Before reading Effective JavaScript, I thought it would be just another book on how to write better JavaScript. But this book delivers that and so much more—it gives you a deep understanding of the language. And this is crucial. Without that understanding you’ll know absolutely nothing whatever about the language itself. You’ll only know how other programmers write their code.

    “Read this book if you want to become a really good JavaScript developer. I, for one, wish I had it when I first started writing JavaScript.”

    —Anton Kovalyov, developer of JSHint

    “If you’re looking for a book that gives you formal but highly readable insights into the JavaScript language, look no further. Intermediate JavaScript developers will find a treasure trove of knowledge inside, and even highly skilled JavaScripters are almost guaranteed to learn a thing or ten. For experienced practitioners of other languages looking to dive headfirst into JavaScript, this book is a mustread for quickly getting up to speed. No matter what your background, though, author Dave Herman does a fantastic job of exploring JavaScript—its beautiful parts, its warts, and everything in between.”

    —Rebecca Murphey, senior JavaScript developer, Bocoup

    “Effective JavaScript is essential reading for anyone who understands that JavaScript is no mere toy and wants to fully grasp the power it has to offer. Dave Herman brings users a deep, studied, and practical understanding of the language, guiding them through example after example to help them come to the same conclusions he has. This is not a book for those looking for shortcuts; rather, it is hard-won experience distilled into a guided tour. It’s one of the few books on JavaScript that I’ll recommend without hesitation.”

    —Alex Russell, TC39 member, software engineer, Google

    “Rarely does anyone have the opportunity to study alongside a master in their craft. This book is just that—the JavaScript equivalent of a time-traveling philosopher visiting fifth century BC to study with Plato.”

    —Rick Waldron, JavaScript evangelist, Bocoup

    Table of Contents

    Chapter 1. Accustoming Yourself to JavaScript
    Chapter 2. Variable Scope
    Chapter 3. Working with Functions
    Chapter 4. Objects and Prototypes
    Chapter 5. Arrays and Dictionaries
    Chapter 6. Library and API Design
    Chapter 7. Concurrency

    中文:

    书名:Effective JavaScript

    有效的Java脚本:68种利用Java脚本力量的具体方法(有效的软件开发系列)

    为了真正掌握JavaScript,您需要学习如何有效地使用该语言的灵活、富于表现力的特性,以及如何避免其陷阱。无论您已经编写了多长时间的JavaScript代码,有效的JavaScript都将帮助您加深对这门强大语言的理解,这样您就可以构建更可预测、更可靠、更可维护的程序。

    作者David Herman凭借他在ECMA的JavaScript标准化委员会多年的经验,以前所未有的方式阐明了该语言的内部工作原理–帮助您充分利用JavaScript的表现力。这本书反映了最新版本的JavaScript标准,提供了经过良好验证的技术和最佳实践,您将在未来几年中依赖它们。

    高效的JavaScript由68种经过验证的编写更好的JavaScript的方法组织而成,并有具体的例子支持。您将学习如何为每个项目选择正确的编程风格、管理意想不到的问题,以及如何更成功地处理从数据结构到并发性的各个方面的Java编程。主要功能包括

    • 使用基于原型的面向对象编程的更好方法
    • Subtleties and solutions for working with arrays and dictionary objects
    • 对JavaScript函数和变量作用域语义的精确而实用的解释
    • 有用的Java编程模式和习惯用法,如选项对象和方法链接
    • 关于使用JavaScript独特的“从运行到完成”的并发方法的深入指导

    不辜负一本有效的软件开发系列编程书籍的期望,Dave Herman的Efficient JavaScript是任何想要进行严肃的JavaScript编程的人的必读书籍。这本书详细解释了JavaScript的内部工作原理,帮助读者更好地利用这种语言。

    —Erik Arvidsson, senior software engineer

    在阅读Efficient JavaScript之前,我以为这只是另一本关于如何编写更好的JavaScript的书。但这本书不仅提供了这一点,而且还提供了更多-它让你对语言有了深刻的理解。这一点至关重要。如果没有这种理解,您将对语言本身一无所知。您将只知道其他程序员如何编写他们的代码。

    “如果你想成为一名真正优秀的JavaScript开发人员,请阅读这本书。就我而言,我希望我在第一次开始编写JavaScript时就有了它。

    —Anton Kovalyov, developer of JSHint

    “如果您正在寻找一本能给您提供正式但可读性很强的关于JavaScript语言的见解的书,请不要再找了。中级的JavaScript开发人员将在其中找到一个知识宝库,即使是非常熟练的Java脚本开发人员也几乎肯定会学到一件或十件事。对于希望一头扎进JavaScript的其他语言的有经验的实践者来说,这本书是快速掌握速度的必读读物。不过,不管你的背景如何,作家戴夫·赫尔曼在探索JavaScript方面做得非常出色–它的美丽部分,它的缺点,以及介于两者之间的一切。

    -Rebecca Murphey,Bocoup高级Java开发人员

    对于任何人来说,有效的JavaScript都是必不可少的读物,任何人只要明白了JavaScript不是简单的玩具,并且想要完全掌握它所提供的力量。戴夫·赫尔曼为用户带来了对这种语言的深入、研究和实践的理解,通过一个又一个的例子来指导他们,帮助他们得出与他相同的结论。这不是一本为那些寻找捷径的人而写的书;相反,这是一段来之不易的经历,被提炼成了一次有导游的旅行。这是为数不多的几本我会毫不犹豫地推荐的关于JavaScript的书之一。

    -亚历克斯·罗素,TC39成员,谷歌软件工程师

    “很少有人有机会跟他们手艺的大师一起学习。”这本书就是这样–相当于一位时间旅行的哲学家访问公元前5世纪,跟随柏拉图学习。

    -Rick Waldron,Bocoup的JavaScript布道者

    目录表

    第1章:让自己习惯于使用JavaScript
    第二章变量作用域
    Chapter 3. Working with Functions
    第四章.对象和原型
    Chapter 5. Arrays and Dictionaries
    第6章.库和API设计
    第七章.并发性

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册