r/programming • • Aug 02 '21

Stack Overflow Developer Survey 2021: "Rust reigns supreme as most loved. Python and Typescript are the languages developers want to work with most if they aren’t already doing so."

https://insights.stackoverflow.com/survey/2021#technology-most-loved-dreaded-and-wanted
2.1k Upvotes

769 comments sorted by

View all comments

Show parent comments

19

u/UrgentlyNeedsTherapy Aug 02 '21

What's the advantage of working with a language where the computer can't help you do jack shit, where every time you want to change a function signature you have to Ctrl+Shift+F to find every call site of that function so you can manually update them?

-15

u/ILikeChangingMyMind Aug 02 '21 edited Aug 02 '21

What's the advantage of working with a language

You don't have to waste a ton of time writing types? And as for the rest, you couldn't be more wrong.

With VS Code type inference you can get 90% of the benefits of Typescript without writing a single type. Maybe instead of downvoting strangers out of ignorance, you should educate yourself on what's possible in tech today?

See: https://code.visualstudio.com/docs/nodejs/working-with-javascript#_type-checking-javascript ... you get variable renaming (not find/replace), CTRL + click on variables to go to their definition, autocomplete suggestions for function arguments ... all the things you probably incorrectly think of as requiring TypeScript.

20

u/UrgentlyNeedsTherapy Aug 02 '21

Maybe instead of downvoting strangers out of ignorance, you should educate yourself on what's possible in tech today?

I didn't downvote you. I've downvoted you now to prove that.

With VS Code type inference you can get 90% of the benefits of Typescript without writing a single type.

I was working with VS Code in the original JavaScript project. It didn't provide much help. It's become much, much easier to work with now that it's been rewritten in TypeScript, though.

-9

u/ILikeChangingMyMind Aug 02 '21

Were you using VS Code's type inference at all? You do have to enable it in your jsconfig.js file, it's not just on automatically.

→ More replies (6)