---
title: "Discussion on \"Code Smell 23 - Instance Type Checking\" | Hashnode"
description: "Discussion on \"Code Smell 23 - Instance Type Checking\". Class checking is a code smlee. Trust your collaborators. Don't check who they are. Ask them to do instead."
url: "https://hashnode.com/posts/code-smell-23-instance-type-checking/5fadf713fa438d6532c7eb1c"
---

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

Discussion

# [Code Smell 23 - Instance Type Checking](https://maximilianocontieri.com/code-smell-23-instance-type-checking?utm_source=hashnode&utm_medium=feed)

Class checking is a code smlee. Trust your collaborators. Don't check who they are. Ask them to do instead.

Nov 13, 2020 · 2 min read · maximilianocontieri.com  
Updated Jul 5, 2021  
Read the article

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

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