conditional LZ complexity 条件LZ复杂性
Often, there's a correlation between long methods and conditional complexity.
通常情况下,长方法和条件复杂度是息息相关的。
Often, long methods and large classes are indications of other code smells, such as conditional complexity and duplicated code.
通常,长方法和大类也暗示着存在其他代码味道,如条件复杂度和重复代码。
My take was that its Primitive Obsession (lack of right level abstractions) that causes majority of the problems including duplication and conditional complexity.
原始强迫症(Primitive Obsession,缺少正确层次的抽象)会导致大多数问题,包括代码重复和条件复杂度。
应用推荐