---
title: "Discussion on \"Code Smell 31 - Accidental Methods on Business Objects\" | Hashnode"
description: "Discussion on \"Code Smell 31 - Accidental Methods on Business Objects\". Adding persistence, serialization, displaying, importing, exporting code to an object bloats its protocol and brings coupling.\nProblems\n\nReadability\n\nCoupling\n\nMaintainability\n\n\nSolutions\n\nKeep your objects clean.\n\nDecouple business objects.\n\nSeparat..."
url: "https://hashnode.com/posts/code-smell-31-accidental-methods-on-business-objects/5fb9d4f50ae19203f6d935b2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Code Smell 31 - Accidental Methods on Business Objects](https://maximilianocontieri.com/code-smell-31-accidental-methods-on-business-objects?utm_source=hashnode&utm_medium=feed)

Adding persistence, serialization, displaying, importing, exporting code to an object bloats its protocol and brings coupling. Problems Readability Coupling Maintainability Solutions Keep your objects clean. Decouple business objects. Separat...

Nov 22, 2020 · 2 min read · maximilianocontieri.com  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#clean-code](https://hashnode.com/tag/clean-code)
-   [#code-smell-1](https://hashnode.com/tag/code-smell-1)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[Maxi Contieri](https://hashnode.com/@mcsee)

@mcsee · Buenos Aires

  
[View profile](https://hashnode.com/@mcsee)

Software Engineer

I’m a senior software engineer loving clean code, and declarative designs. S.O.L.I.D. and agile methodologies fan.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
