设计模式: 从ES5 到 TypeScript ——单例模式

2019-06-24
阅读 5 分钟
3.3k
Back in 1994, a book was authored by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides that discusses 23 desgin patterns, titled Design Patterns: Elements of Resuable Object-Oriented Software. You may have heard of this book or the authors as Gang of Four (GoF).