Hacker News new | ask | show | jobs
by raveren 1133 days ago
> you'll need strict mode for type hints to be useful.

false.

Utterly false, I don't know where you came up with all of that nonsense. All type hints work as expected, just you can't typehint variables. Only parameters/class properties/return types.

And the `strict mode` is a failed experiment no longer recommended in new code (no side effects but no benefits either).