---
title: "Discussion on \"Code Smell 308 - Not Polymorphic Return\" | Hashnode"
description: "Discussion on \"Code Smell 308 - Not Polymorphic Return\". When your methods return generic types, you break the call chain"
url: "https://hashnode.com/posts/code-smell-308-not-polymorphic-return/689fea8a9863396589213681"
---

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

Discussion

# [Code Smell 308 - Not Polymorphic Return](https://maximilianocontieri.com/code-smell-308-not-polymorphic-return?utm_source=hashnode&utm_medium=feed)

When your methods return generic types, you break the call chain

Aug 16, 2025 · 5 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)
-   [#null](https://hashnode.com/tag/null)
-   [#types](https://hashnode.com/tag/types)

## 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.
