Hacker News new | ask | show | jobs
by Vinnl 1655 days ago
> JS has to evolve to support some form of type annotations first class to stay relevant.

What are you thinking in this regard? Just to define type annotations that can be made but will not necessarily be type-checked at runtime? To have them serve as inputs to the interpreter for optimisations? Or even breaking at runtime if types don't match their annotations?

1 comments

I don't want to go into details right now. Expect more in a couple of weeks :-)