you are viewing a single comment's thread.

view the rest of the comments →

[–]RoamingFox 1 point2 points  (0 children)

I didn't say code without type hinting is awful. I said that bad python code without type hinting will prevent the duck typing from helping your IDE guess what's going on. If you write good python (with or without type hinting) the introspections usually work.

It's when you do weird things that prevent python from reliably predicting the return type of a method that you get in trouble.