Comment

Comment by raveren

> 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).

parent raveren 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton