为什么 "Procedure Class" 是一种设计风格?

Why "Procedure Class" is a Design Smell?

在“A systematic literature review on the detection of smells and their evolution in object-oriented and service-oriented systems”研究论文中,程序class被识别为气味。但是没有给出定义,参考文献也没有包含任何关于它的描述或信息。

那么有人能说出为什么过程 class 是一种味道以及如何重构它吗?

我也无法在本文引用的任何参考文献中找到任何提及短语“过程 class”或任何类似内容的内容。该论文引用了两个来源似乎有问题,但实际上没有一个来源使用该短语。当论文的来源受到质疑时,我会非常怀疑论文的结果。

如果没有直接引用,我的假设是短语“过程 class”是 实用程序 class 的另一种形式。在这些帖子中,它可以被视为 OO anti-pattern。