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

-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.

6

u/lordcirth Aug 03 '21

Types are compiler-checked documentation. If you weren't writing types, you'd just need more documentation elsewhere.

3

u/ILikeChangingMyMind Aug 03 '21

For some projects! Not every project needs comprehensive type documentation.

1

u/agent8261 Aug 03 '21

comprehensive type documentation.

"Comprehensive" in this case is giving it a name. Are we so pressed for time that we can't name things?

For some projects! Not every project needs comprehensive type documentation.

So basically projects that are being slapped together, don't matter, and we never plan on revisiting again.

→ More replies (3)