---
title: "Discussion on \"Python's Type Annotations: The Best Of Both Types Worlds\" | Hashnode"
description: "Discussion on \"Python's Type Annotations: The Best Of Both Types Worlds\". Why should we use Python's Type Annotations"
url: "https://hashnode.com/posts/pythons-type-annotations-the-best-of-both-types-worlds/616993e353401f641ba18570"
---

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

Discussion

# [Python's Type Annotations: The Best Of Both Types Worlds](https://analogy.hashnode.dev/pythons-type-annotations-the-best-of-both-types-worlds?utm_source=hashnode&utm_medium=feed)

Why should we use Python's Type Annotations

Oct 15, 2021 · 11 min read · analogy.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#backend](https://hashnode.com/tag/backend)

## Written by

[Ido Azulay](https://hashnode.com/@idoazulay)

@idoazulay

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

Backend Engineer

## Responses 1

Markdown supported · ⌘↵ to post

[Amit Berger](https://hashnode.com/@AmitAndYoav)

[Jan 13, 2022](https://hashnode.com/posts/pythons-type-annotations-the-best-of-both-types-worlds/616993e353401f641ba18570/comment/61e00d0485673073e3571ac0)

In your professional opinion, do you suggest using annotations on all functions/ classes on the code, or only apply this to more complicated implementations? And are some annotations more important than others?

[Ido Azulay](https://hashnode.com/@idoazulay)

[Jan 23, 2022](https://hashnode.com/posts/pythons-type-annotations-the-best-of-both-types-worlds/616993e353401f641ba18570/comment/61e00d0485673073e3571ac0#reply-61ed1b455fbc177f9f3b6830)

Thanks for the comment! Important question, I'll answer my opinion.

I think it's an healthy habbit, therefore I'm suggesting making this an habbit by adding type annotation to every place you can.

I'm agreeing that the complex structures are more dangerous, but as we know we cannot slight any piece of code, even the simple ones, the more you annotate your code, the more coverage and protection you gain.
