- Hands-On Dependency Injection in Go
- Corey Scott
- 103字
- 2021-06-10 19:17:45
Summary
In this chapter, we started a journey—a journey that will lead to code that is easier to maintain, extend, and test.
We started by defining DI and examining some of the benefits it can bring us. With the help of a few examples, we saw how this might look in Go.
After that, we started identifying code smells to look out for and that could be addressed or alleviated by applying DI.
Finally, we examined what I believe Go code looks like, and I challenged you to be skeptical and apply a critical eye to techniques presented in this book.
推薦閱讀
- Deploying Node.js
- 程序員面試白皮書
- 案例式C語言程序設計
- Machine Learning with R Cookbook(Second Edition)
- Python機器學習編程與實戰
- Learn React with TypeScript 3
- C語言程序設計同步訓練與上機指導(第三版)
- Java Web開發詳解
- Python機器學習算法與應用
- Flask Web開發:基于Python的Web應用開發實戰(第2版)
- Machine Learning for OpenCV
- Python第三方庫開發應用實戰
- Android技術內幕(系統卷)
- Test-Driven iOS Development with Swift
- jQuery Mobile Web Development Essentials(Second Edition)