loading...

re: Key Headaches in TypeScript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I'm with you. Speaking for myself, I'm doing this because the current project will be in TS and the lead on the project loves TS and the other dev...
 

I think you put your finger on my problem here. I understand why I need strong types in C++, it's because I am in control of the memory allocated for every single variable and what it's doing and exactly how it will be interpreted by the function which receives it. That's all just a sham in TS, it is only there for linting. IntelliJ does interpret JSDoc and dynamically compiles my code and warns me if I'm using the wrong variable. But I only have to do it when I want to. Maybe that's the problem... you have no choice in TS so you can't short cut it.

code of conduct - report abuse