3 ms·
That's if you write it in Java. With a type system like TypeScript's you can write largely the same code as before, with a few annotations to clarify what you m
by rictic 4y ago
That's if you write it in Java. With a type system like TypeScript's you can write largely the same code as before, with a few annotations to clarify what you mean, and you get the exact same runtime only you also will get compile errors if a change elsewhere in your program violates the assumptions of that code.
- samatman 4y agoI don't view Typescripts as a good argument against dynamic languages. I view it as a good case for a well-designed gradual type system for dynamic languages. All valid Javascript is Typescript, in a profound rather than trivial way.