| Eh, I just didn't need it. I learned it but never saw the need for the extra overhead. It's full of these situations. And I'd rather just see less code due to "Attention Economy" issues-- the more things to focus on, the less focus each thing receives. It's easier on the big picture, if there's less things going on. TS has a ton of terms and concepts that I just don't need to make my business logic work. const cat Cat cat<T Cat> = cat vs. const cat = cat dto? iterface? i can define those without typescript. Just plain objects with comments about what they do and what they are. Anyway, yep it's just my personal opinion of course. My opinion is basically... I think in some cases there's a desire to make things overly complex, sometimes even as a way to gate keep-- I'm not saying that's what is happening here. But sometimes I feel that way about Typescript leaking into all of the Javascript ecosystem. |
Ultimately, TS enforces those implicit comments you mentioned and adds some explicitness to the code.
Whatever works for you and gets your job done
But it's worth mentioning, TS with some of the strict settings disabled is basically JS but with some added benefits, primarily due to the TS type checker still being available. No need to go fully in, you can just as easily add explicitness and overhead where necessary and write JS everywhere else to avoid the overhead.