Update 05. 使用依赖注入取代硬连接资源(hardwiring resources).md

This commit is contained in:
Joe 2019-02-27 11:57:08 +08:00 committed by GitHub
parent 4c68a9b3d1
commit 11379aa552
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,5 @@
# 05. 使用依赖注入取代硬连接资源hardwiring resources
---
  许多类依赖于一个或多个底层资源。例如,拼写检查器依赖于字典。将此类类实现为静态实用工具类并不少见 (条目 4):