Should I use type hints for all new code?

Simon Connah via Tutor <[email protected]>
Newsgroups gmane.comp.python.tutor
Message-ID <M9_aBoAFuhGdjfSRpGSFOiINF2Tbbf6vsOTcLFAE4_fAeoqhCfpTzb3ZvRdWz6UR8Z7QH4peTg0bUUkvVzVEWa5YAA0bEykO5NyRNdL0Bmw=@protonmail.com>
I'm wondering if I should use type hints for new code. They make things easier to read and they stop sloppy mistakes but do they have a performance impact?

I just want to know what is considered best practice these days.

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.