After my first contact with a computer in the 1980's, I taught myself to program in BASIC and Z80 assembler. I went on to study Computer Science and have enjoyed a long career in Software Engineering.
I have to confess I quite like TS, but probably because it reminds me of days long go when I used to write C++ and C code. The hype is false, TS is not type-safe or even safer (at runtime), as some claim.
It does provide some helpful IntelliSense (and things like generics, enumerations and interfaces) but none of these survive transpilation into JS. The most useful (everyday) feature can be obtained through establishing good coding conventions across the team and using JS with some JSDoc notation.
In the 2 decades I have been writing applications in JS, I can honestly say, I can count on one hand the number of times I found a bug was down to the incorrect use of a data type.
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.
I have to confess I quite like TS, but probably because it reminds me of days long go when I used to write C++ and C code. The hype is false, TS is not type-safe or even safer (at runtime), as some claim.
It does provide some helpful IntelliSense (and things like generics, enumerations and interfaces) but none of these survive transpilation into JS. The most useful (everyday) feature can be obtained through establishing good coding conventions across the team and using JS with some JSDoc notation.
In the 2 decades I have been writing applications in JS, I can honestly say, I can count on one hand the number of times I found a bug was down to the incorrect use of a data type.