News for hackers. Stuff that matters.
Re:Ask HN: Let's discuss Python type hints guidelines by waogta on Wednesday February 16, 2022 @10:58AM (#30361663)
Relax. Per my understanding, you don't need to push yourself so hard. I come from C/C++/Java first. Then I use python. When I learn python, everyone said that the good part of python is its duck type and dynamic type. Now everyone talked about type hints. I can't express my feeling about it. Per my experience, type hints can improve your code quality if you are working with huge code base or some complex project. However, if you just write some scripts to auto some daily tasks, using type hints is a kind of over-skill.

There are no comments on this comment yet.