Written by Paul Cowan✏️
Before I start, I would like the jury to know that I am, for the most part, a TypeScript fan. It is my primary programming...
For further actions, you may consider blocking this person and/or reporting abuse
Yes.
End of discussion.
There are many other answers to the same question here: dev.to/bettercodingacademy/typescr...
I literally was in the same room as a team of 5 debug Typescript for 4 hours, just to get it up and running on 1 box. There's some perks, but there are some pitfalls. It's not for every project. Large, complex apps existed prior to TS and will continue to do so. It's not a zero-sum game.
Why did debug session take so long?
Not too sure, as I was working on another project; being productive. 😉
I think a lot of people think swithing to TypeScript can be done overnight with the press of a button. People forget that you still need to learn a new programming language. But once you do, it's always worth using it for projects larger than single file scripts, especially when there are multiple people working on the same project.
I've been writing JS for over a decade. Still haven't needed typescript and the latest, large project I worked on, Typescript would have been a major inhibitor to velocity. Not bc itself, but due to the team's seniority.
Our team has been using typescript for a year now, reasons why we use typescript:
I come from CoffeeScript, that is kinda dead now.
I tried TypeScript, observed the same that this post mentions.
I tried some Python-to-JavaScript compilers, they were not good at all.
I tried Nim, solved my problems, including TypeScript ones.
:)
I've seen you mention a few times in here, it likes nice but there is a really tiny community and ecosystem for web apps, unless you can point out otherwise
It is a language to work with other languages too, I use it for Python,
I am part of the Python community, and find it searching for alternatives to Cython,
you can "import" C and JS libs and use them from Nim,
it is Python-like syntax instead of JavaScript-like so that may or may not be a disadvantage,
besides that no one forces you to abandon JS community.
But JavaScript community is biggest on the whole world anyways,
all communities are tiny communities compared to JavaScripts...
🤷♀️
Asserts gets us some of the way for runtime type checking.