To the people who wish they could answer that question with confidence, I recommend getting this book: http://www.amazon.com/Effective-JavaScript-Specific-Software... Just got it and I feel like it clarified so many things about Javascript that I didn't have down cold as a self-taught pragmatist.
……被垃圾回收(garbage-collected)。比如对象 `A` 引用了对象 `B`,即使你以后再也不用 `B`,`B` 的内存也不会被释放。MDN 上有更好的解释和示例 [1]。至于书籍,我推荐 David Herman 的《Effective Javascript》。[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memo...
…garbage-collected. E.g. if object `A` has a reference to object `B`, `B`'s memory won't be freed even if you never use it again. MDN has a better explanation and example [1] As for books I'd recommend Effective Javascript by David Herman. [1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memo...
《JavaScript 语言精粹》(The Good Parts)依然是本好书,但我现在更倾向于推荐《Effective Javascript》:http://www.amazon.com/Effective-JavaScript-Specific-Software... 除了书之外,http://superherojs.com 也是另一个值得推荐的好资源。
"The Good Parts" is still a good one, but my recommendation these days now goes to Effective Javascript: http://www.amazon.com/Effective-JavaScript-Specific-Software... Outside of books, http://superherojs.com is another good resource to recommend.
开发者对书的口味差异非常大:书单里有很多书,我倒不觉得它们对我有多大帮助,但萝卜青菜各有所爱吧!顺着这个话题,我想安利一下 David Herman 的《Effective JavaScript》。它不仅仅是阐述 JavaScript 的机制,更深入讲了有哪些坑,以及写代码时需要考虑的那些罕见却至关重要的因素。关于字符串中 UTF-16 码点的那一部分……
Tastes in books varies wildly between developers: there are many on there that I wouldn't say helped me as much as others, but to each their own! With that in mind, I'd put a plug in for David Herman's _Effective JavaScript_. It goes beyond simply stating the mechanics of JavaScript into what pitfalls can be had, and uncommon but critical factors to consider when writing your code. The point about UTF-16 code points in strings…
…https://github.com/tastejs/todomvc/tree/gh-pages/examples/va... What does the framework buy you? Is the framework-powered code easier to read? Easier to understand for a newcomer to the code base? 2. Read every line of Effective Javascript (it's short and eminently practical) and write out every code example. http://www.amazon.com/Effective-JavaScript-Specific-Software... There are about a dozen small errors in the code in the book, see…
对于那些希望自己能自信回答那个问题的人,我推荐买这本书:http://www.amazon.com/Effective-JavaScript-Specific-Software... 刚买到手,我觉得它讲清楚了好多我作为一个自学成才的实用主义者以前没有吃透的 Javascript 问题。
To the people who wish they could answer that question with confidence, I recommend getting this book: http://www.amazon.com/Effective-JavaScript-Specific-Software... Just got it and I feel like it clarified so many things about Javascript that I didn't have down cold as a self-taught pragmatist.
我也赞成原作者推荐的 David Herman 写的《Effective JavaScript》。我发现它超级有用:http://effectivejs.com/
I'll second the author's recommendation of Effective JavaScript by David Herman. I've found it very helpful: http://effectivejs.com/
……被垃圾回收(garbage-collected)。比如对象 `A` 引用了对象 `B`,即使你以后再也不用 `B`,`B` 的内存也不会被释放。MDN 上有更好的解释和示例 [1]。至于书籍,我推荐 David Herman 的《Effective Javascript》。[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memo...
…garbage-collected. E.g. if object `A` has a reference to object `B`, `B`'s memory won't be freed even if you never use it again. MDN has a better explanation and example [1] As for books I'd recommend Effective Javascript by David Herman. [1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memo...
《JavaScript 语言精粹》(The Good Parts)依然是本好书,但我现在更倾向于推荐《Effective Javascript》:http://www.amazon.com/Effective-JavaScript-Specific-Software... 除了书之外,http://superherojs.com 也是另一个值得推荐的好资源。
"The Good Parts" is still a good one, but my recommendation these days now goes to Effective Javascript: http://www.amazon.com/Effective-JavaScript-Specific-Software... Outside of books, http://superherojs.com is another good resource to recommend.
开发者对书的口味差异非常大:书单里有很多书,我倒不觉得它们对我有多大帮助,但萝卜青菜各有所爱吧!顺着这个话题,我想安利一下 David Herman 的《Effective JavaScript》。它不仅仅是阐述 JavaScript 的机制,更深入讲了有哪些坑,以及写代码时需要考虑的那些罕见却至关重要的因素。关于字符串中 UTF-16 码点的那一部分……
Tastes in books varies wildly between developers: there are many on there that I wouldn't say helped me as much as others, but to each their own! With that in mind, I'd put a plug in for David Herman's _Effective JavaScript_. It goes beyond simply stating the mechanics of JavaScript into what pitfalls can be had, and uncommon but critical factors to consider when writing your code. The point about UTF-16 code points in strings…
……https://github.com/tastejs/todomvc/tree/gh-pages/examples/va... 框架能给你带来什么?用框架写出来的代码更容易阅读吗?新加入代码库的人更容易理解吗?2. 把《Effective Javascript》的每一行都精读一遍(书很薄,而且极其贴合实战),并把每一个代码示例都亲手敲一遍。http://www.amazon.com/Effective-JavaScript-Specific-Software... 书里的代码大概有十来个小错误,参见……
…https://github.com/tastejs/todomvc/tree/gh-pages/examples/va... What does the framework buy you? Is the framework-powered code easier to read? Easier to understand for a newcomer to the code base? 2. Read every line of Effective Javascript (it's short and eminently practical) and write out every code example. http://www.amazon.com/Effective-JavaScript-Specific-Software... There are about a dozen small errors in the code in the book, see…