You don't mention the downsides of Typescript over pure JS. The transpiled code it produces has more run time checks so is generally slower.
We've seen some big performance gains by dropping Typescript in Lambda.
As most of the benefits can be gained using other tools (eslint, sonar cloud and just basic unit tests). The only real advantage is a slightly better IDE.
Hey @wfreeth, thank you for your comment. Do you have performance benchmarks to share? TypeScript emits clean and idiomatic JavaScript code, as it is one of the language's primary design goals. Notably, features like "const assertions" don't emit additional runtime checks, which ensures that the resulting JavaScript code is not slower (see this video). Therefore, I'm curious to learn about the specific cases you encountered where performance was affected?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You don't mention the downsides of Typescript over pure JS. The transpiled code it produces has more run time checks so is generally slower.
We've seen some big performance gains by dropping Typescript in Lambda.
As most of the benefits can be gained using other tools (eslint, sonar cloud and just basic unit tests). The only real advantage is a slightly better IDE.
Hey @wfreeth, thank you for your comment. Do you have performance benchmarks to share? TypeScript emits clean and idiomatic JavaScript code, as it is one of the language's primary design goals. Notably, features like "const assertions" don't emit additional runtime checks, which ensures that the resulting JavaScript code is not slower (see this video). Therefore, I'm curious to learn about the specific cases you encountered where performance was affected?