Re:Deno Joins TC39
by Vinnl on Monday December 13, 2021 @07:55AM
(#29539110)
> 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?
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?