▲ 342 ▼ What are your programming hot takes? (lemmy.ml) submitted 2 years ago by 257m@lemmy.ml to c/programming@programming.dev 886 comments fedilink hide all child comments
[–] witx@lemmy.sdf.org 3 points 2 years ago (1 child) That's actually a good idea, enforcing it. Still, do these linters protect against misuse? E.g I have an int but place a string on it somewhere? permalink fedilink source parent hideshow 2 child comments replies: [–] sirdorius@programming.dev 4 points 2 years ago* Yes, in a good dev workflow mypy errors will not pass basic CI tests to get merged. Types are not really a problem in modern Python workflows, you can basically have a better type checker than Java out of the box (which can be improved with static analysis tools). The biggest problem with Python remains performance. permalink fedilink source parent
[–] sirdorius@programming.dev 4 points 2 years ago* Yes, in a good dev workflow mypy errors will not pass basic CI tests to get merged. Types are not really a problem in modern Python workflows, you can basically have a better type checker than Java out of the box (which can be improved with static analysis tools). The biggest problem with Python remains performance. permalink fedilink source parent