4 ms·
We could try TypeScript vs JavaScript. TypeScript type annotations are optional, and its semantics are by design exactly those of Javascript.
by joseraul 12y ago
We could try TypeScript vs JavaScript.
TypeScript type annotations are optional, and its semantics are by design exactly those of Javascript.
- kybernetikos 12y agoI've come to the conclusion that when you can get your code running and producing errors (javascript) in less time than it takes to compile to see the type errors (scala) the benefits of types seem a lot less persuasive. Anything that adds an extra step to the workflow can diminish the benefit of types, so if you were to do a TypeScript vs JavaScript comparison, you'd have to decide whether you wanted the comparison to include the extra time that TypeScript adds into your iteration flow or make a fake build step for vanilla javascript that slows things down. Maybe es6 transpiled to es5 vs TypeScript would be fair.