With TypeScript - learn it that way, from the beginning. My frustration with TypeScript is that I know the data structure or pattern I want, and I know how to do it in Javascript right now, but I've got to struggle to find the right way of expressing the types and I end up with a ton of code when a little would have done. That's just because of my route, TS is much easier to reason with and forces you to build good structures etc - I just don't think in those structures I think in the underlying JS elements. I wish TS had been there for me as I moved my focus from C# to JS, but it wasn't.
That is what I have been hearing. I have decided to focus mainly on TypeScript, but for the few small things I already know and need quickly I've just used JavaScript. I don't know TypeScript well enough yet to implement it more than just in basic beginner code lol.
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.
With TypeScript - learn it that way, from the beginning. My frustration with TypeScript is that I know the data structure or pattern I want, and I know how to do it in Javascript right now, but I've got to struggle to find the right way of expressing the types and I end up with a ton of code when a little would have done. That's just because of my route, TS is much easier to reason with and forces you to build good structures etc - I just don't think in those structures I think in the underlying JS elements. I wish TS had been there for me as I moved my focus from C# to JS, but it wasn't.
That is what I have been hearing. I have decided to focus mainly on TypeScript, but for the few small things I already know and need quickly I've just used JavaScript. I don't know TypeScript well enough yet to implement it more than just in basic beginner code lol.