DEV Community

Discussion on: Which programming language should you learn in 2022 to remain relevant and also increase your revenue.

Collapse
 
kayis profile image
K

My impression was, TypeScript is rather hard if you don't know JavaScript.

It's basically a static type checker for JS, so not knowing about the idiosyncrasies of JS makes seem TypeScript kind of weird.

Collapse
 
jwp profile image
John Peters

True if coming with no static language experience. TypeScript and C# use exact same concepts. C# people get TypeScript immediately.

Thread Thread
 
kayis profile image
K

Good point.

The reason, I was anti TS for a long time was exactly that, it was too close to C# for my taste.

I'd have preferred that ReScript would have won and we now had something more functional, but whelp. TS it is, and it's better than nothing.

Thread Thread
 
jwp profile image
John Peters • Edited

Yes Javascript people appear to be fiercely loyal to it, despite it's history of slow improvement. Things are better now for sure.

Thread Thread
 
kayis profile image
K

I started with C programming at school, and when I went to university and they tried to sell me Java and C++ it all felt quite cumbersome. C was much simpler.

Then I discovered JavaScript and had this feeling of efficiency again, not in terms of performance, but simply in coding.

TypeScript felt a bit like people tried to push the heavyweight OOP stuff of C++/Java into JavaScript again, that's why I didn't like it. But when I used it for some things, I got the impression it's vastly different from those heavyweight languages, so I gave it a try.

And I have to say it's really much better than I imagined it.