- Mastering JavaScript Design Patterns
- Simon Timms
- 80字
- 2021-08-05 17:14:56
Chapter 2. Organizing Code
In this chapter, we'll look at how to organize JavaScript code into reusable, understandable chunks. The language doesn't lend itself well to this sort of modularization, but a number of methods of organizing JavaScript code have emerged over the years. This chapter will argue the need to break down code, and then work through the methods of creating JavaScript modules.
We will cover the following topics:
- Global scope
- Objects
- Prototype inheritance
- ECMAScript 6 classes
推薦閱讀
- The Complete Rust Programming Reference Guide
- 數據科學實戰手冊(R+Python)
- Mastering ServiceStack
- Docker技術入門與實戰(第3版)
- Xcode 7 Essentials(Second Edition)
- 編寫高質量代碼:改善Python程序的91個建議
- Learn Programming in Python with Cody Jackson
- 算法訓練營:提高篇(全彩版)
- Learning Three.js:The JavaScript 3D Library for WebGL
- ExtJS高級程序設計
- Spring 5 Design Patterns
- Mastering Docker
- C++程序設計
- PHP項目開發全程實錄(第4版)
- Head First Kotlin程序設計