JavaScript: The Good Parts
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已有一定 JavaScript 使用经验、想弄清语言本质的中级开发者
- 希望改善代码风格、减少踩坑的前端工程师
- 从 Java、C++ 等强类型语言转来、对 JS 心存疑虑的程序员
- 想训练技术判断力、愿意读薄书的工程师与团队负责人
Not a good fit for
- 完全没有编程经验、需要系统入门的零基础读者
- 只想找现成框架或项目实战教程的读者
- 专门研究 ES6+ 新特性、希望紧跟最新标准的读者
Reading tips
- 先通读第1章与附录A、附录B,建立“哪些不要用”的底线意识,再回头细读函数与继承两章。
- 第4章与第5章值得配上代码动手改写,把闭包、模块、函数化继承亲手实现一遍。
- 留意成书年代的局限:读到代码风格与优美特性部分时,对照当下的 ES 规范与主流风格指南辩证看待。
- 篇幅短、信息密,适合当作工具书放在手边,遇到语言困惑时按主题回查对应小节。
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- Foreword
- Chapter 1: Good Parts—Why JavaScript, Analyzing JavaScript, A Simple Testing Ground
- Chapter 2: Grammar—Whitespace, Identifiers, Numbers, Strings, Statements, Expressions, Literals, Functions
- Chapter 3: Objects—Object Literals, Retrieval, Update, Reference, Prototype, Reflection, Enumeration, Delete, Reducing Global Pollution
- Chapter 4: Functions—Function Objects, Function Literals, Invocation, Arguments, Return, Exceptions, Augmenting Types, Recursion, Scope, Closure, Callback, Module, Cascade, Currying, Memoization
- Chapter 5: Inheritance—Pseudoclassical, Object Specifiers, Prototypal, Functional, Parts
- Chapter 6: Arrays—Array Literals, Length, Delete, Enumeration, Confusion, Methods, Dimensions
- Chapter 7: Regular Expressions—An Example, Construction, Elements
- Chapter 8: Methods—Array, Function, Number, Object, RegExp, String
- Chapter 9: Style
- Chapter 10: Beautiful Features
- Appendix A: Awful Parts
- Appendix B: Bad Parts
- Appendix C: JSLint
- Appendix D: Syntax Diagrams
- Appendix E: JSON
- Index
- About the Author
FAQ
这本书适合零基础学 JavaScript 吗?
这本书和《JavaScript语言精粹(修订版)》有什么区别?
书里讲的 ES5 之前的观点现在还适用吗?
书中的 JSLint 与 JSON 附录值得看吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.