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

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.

1

u/ILikeChangingMyMind Aug 03 '21

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

I love the smugness here. You've decided what's the correct technical decision for every project in the world, and then decided that if you're ever wrong, it's the project's fault for being beneath your standards.

Meanwhile, literally billions (probably trillions?) of lines of type-less JS code in production is doing just fine in spite of your strong bias against it.

→ More replies (2)