Anti-Patterns in OOP

The following text is a partial translation of the original English article, performed by ChatGPT (gpt-3.5-turbo) and this Jekyll plugin:

Here they come:

  • NULL References

  • Utility Classes

  • Mutable Objects

  • 获取器和设置器

  • 数据传输对象(DTO)

  • 对象关系映射(ORM)

  • Singletons

  • 控制器,管理器,验证器

  • 公共静态方法

  • Class Casting

  • Traits and Mixins

尽量避免它们。查看这个列表和那个列表也。

Translated by ChatGPT gpt-3.5-turbo/42 on 2023-11-17 at 16:59

sixnines availability badge   GitHub stars