Javascript:好的部分

谁写的? (Who Wrote It?)

When I first heard Douglas Crockford was writing Javascript: The Good Parts (let’s just call it JTGP from here on out) I was anxiously awaiting the release. Crockford has been responsible for many highly regarded articles and presentations, as well as for his incredible work with JSON, JSLint and much more. While Brendan Eich may be the father of Javascript, Crockford is probably the Godfather. Even Eich himself called Crockford “the Yoda of Lambda JavaScript programming.”

当我第一次听到道格拉斯·克罗克福德(Douglas Crockford)正在编写Javascript:The Good Parts (从现在开始,我们称其为JTGP)时,我正焦急地等待发布。 Crockford负责许多备受推崇的文章和演示,以及他在JSON,JSLint等方面的出色工作。 虽然Brendan Eich可能是Javascript之父,但Crockford可能是教父。 甚至Eich本人也将Crockford称为“ Lambda JavaScript编程的尤达”。

涵盖了什么? (What’s Covered?)

JTGP does as promised…it brings to attention the best parts of the Javascript language. Topics like Objects, Inheritance, Arrays, Functions and Regular expressions are discussed throughout the book. While focusing on the “good parts” of Javascript, Crockford also points out the not-so good parts and explains why these other parts don’t fall into the good category by pointing out caveats and pitfalls.

JTGP履行了承诺……它引起了Java语言最好的部分的注意。 全书讨论了诸如对象,继承,数组,函数和正则表达式之类的主题。 在着重介绍Javascript的“好部分”时,Crockford还指出了不太好的部分,并通过指出警告和陷阱来解释为什么这些其他部分不属于好类别。

I’ve seen it mentioned before that people complained about the book being a bit short. It weighs in at a very light 145 pages, 45 of which are appendixes. The information is quite dense however, and I thought the appendixes were extremely valuable. The appendixes include looks at what Crockford considers to be the “awful parts” and the “bad parts” of Javascript. They also include looks at JSLint and JSON as well as providing some helpful syntax diagrams.

在人们抱怨这本书太短之前,我已经看过它提到过。 它的重量仅为145页,其中45页为附录。 但是信息非常密集,我认为附录非常有价值。 附录包括Crockford认为Javascript的“糟糕的部分”和“坏的部分”的内容。 它们还包括对JSLint和JSON的介绍,并提供了一些有用的语法图。

我应该读吗? (Should I Read It?)

As mentioned before, the book is short, but very dense. As a result, there is a lot of information covered, but not always a lot of explanation involved. The book seems to take a bit of a different approach than the typical Javascript book…it’s more focused on why than it is on how.

如前所述,这本书虽然简短,但非常密集。 结果,这里涵盖了很多信息,但并不总是涉及很多解释。 这本书似乎与典型的Javascript本书采取了不同的方法……它更着重于为什么而不是如何。

That is not at all a bad thing though. Assuming you have a nice handle on the language and it’s syntax, there is a lot to get out of reading this book. In fact, there is so much information crammed in here that it will probably take several readings to truly grasp all the information being delivered. Don’t make the mistake of assuming that because it is short it is an easy-read…this book covers advanced information and does so at a very rapid pace.

但是,那根本不是一件坏事。 假设您对语言及其语法有很好的了解,那么从本书中可以得到很多帮助。 实际上,这里塞满了太多信息,可能需要多次阅读才能真正掌握所传递的所有信息。 不要误以为因为篇幅短所以容易读……这本书涵盖了高级信息,并且很快就做到了。

最终裁决 (The Final Verdict)

JTGP is a great book for anyone who wants a deeper understanding of the why behind the how. I would recommend it to anyone, though I would warn that you’ll want to have a decent understanding of the syntax before reading it…since the book focuses so much on why, there’s not a lot of explanation on how things work, and to get all that this book has to offer, you’ll want to know that. Overall, a very good book that is good enough to demand several readings.

对于想深入了解操作方法背后原因的人,JTGP是一本好书。 我会推荐给任何人,尽管我会警告您,在阅读它之前,您将需要对语法有一个不错的了解……由于本书将重点放在了为什么上,所以对于事情的工作原理并没有太多的解释。得到本书所提供的所有内容,您将要知道。 总体而言,一本非常好的书足以要求多次阅读。

太好了……我在哪里可以得到副本? (Great…Where Do I Get a Copy?)

翻译自: https://timkadlec.com/2008/06/javascript-the-good-parts/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值