Python Forum
Type Hinting - who's using it?
Poll: How much are you using type hinting?
You do not have permission to vote in this poll.
Not at all
50.00%
3 50.00%
A little
33.33%
2 33.33%
A lot
16.67%
1 16.67%
Total 6 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Type Hinting - who's using it?
#5
I don't use it when doing quick prototyping, but I include it in all code at work, since the people I work with are used to languages like Scala and aren't used to dynamic typing. I agree that it doesn't let you write code you couldn't otherwise, but it really helps for things like code review where you don't have Pycharm or anything like that to help you figure out what types are. I've even caught would-be type errors in code review because people annotated their code correctly but forgot to run mypy to detect the contradiction.
Reply


Messages In This Thread
Type Hinting - who's using it? - by micseydel - Feb-03-2020, 09:50 PM
RE: Type Hinting - who's using it? - by Larz60+ - Feb-03-2020, 10:39 PM
RE: Type Hinting - who's using it? - by metulburr - Feb-04-2020, 12:16 AM
RE: Type Hinting - who's using it? - by snippsat - Feb-04-2020, 01:37 PM
RE: Type Hinting - who's using it? - by micseydel - Feb-04-2020, 10:08 PM
RE: Type Hinting - who's using it? - by Larz60+ - Feb-04-2020, 10:39 PM
RE: Type Hinting - who's using it? - by wavic - Feb-05-2020, 11:51 AM
RE: Type Hinting - who's using it? - by DeaD_EyE - Feb-05-2020, 12:19 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020