> For the complete documentation index, see [llms.txt](https://hanfak.gitbook.io/workspace/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hanfak.gitbook.io/workspace/general-paradigms/programming-types/oop-design/issues.md).

# Issues with object oriented code

* The biggest failing of applied object-oriented programming hasbeen the belief that you should faithfully reproduce your domain model in code.
* In reality, a few core type definitions are useful for encapsulation and understanding, but tuples, sets, arrays, and so forth are all we need the rest of the time.
* Unnecessary classes become a burden as the code evolves.
