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