Using complexity metrics for class length, method length, and intra-class coupling (that is, object imports and unique types) is the first step toward understanding what you're up against.
使用针对类长度、方法长度和内部类耦合的复杂性度量(即对象导入和惟一类型)是理解您所面临的困难的第一步。
You cannot use any other implementation so you end up coupling your code to it.
您不能使用任何其它实现,因此您最终将代码与该实现耦合。
However, when you end up refactoring a large code base, coupling pops up everywhere because that's one of the reuse mechanisms in object-oriented languages.
然而,当您重构大型的代码库后,到处都会出现耦合的地方,因为那是面向对象语言中的其中一种重用机制。
应用推荐