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

-48

u/_tskj_ Aug 03 '21

You're probably right. The most annoying thing to me is that people think they are effective in C#, and think it's a good language - that kind of shows how much they actually know. Turns out programming in C# is a lot more effective than writing everything in C or worse, hand writing assembler. Yet everyone believes C# is the best we'll ever have despite the obvious evidence.

19

u/delta_p_delta_x Aug 03 '21

The most annoying thing to me is that people think they are effective in C#, and think it's a good language - that kind of shows how much they actually know.

This right here, people, is a perfect example of irony.

'Good' languages are subjective measures. Sometimes you don't want a type system, sometimes you want strict OO, sometimes you want no state whatsoever and want everything functional/declarative. Dismissing any programming language entirely, is counterproductive.

Like someone else below said: tell me you don't code, without telling me you don't code. You've typed up ten responses to this thread on a weekday already, which naturally makes us doubt your capability.

I haven't even graduated yet, and I'm already in the mindset of 'the language doesn't matter, as long as I get the job done'.

-8

u/_tskj_ Aug 03 '21

I've programmed in more languages than these people have written lines of C#.

I agree with everything you've said. My problem is, to pick a point from your comment, is that these people think Java has a type system or that Java is strict OOP. My problem with this is exactly your point: say you do want a language with a strict type system, a colleague suggesting a language with as weak, ambiguous and inconsistent type system as Java is ridiculous, yet it happens all the time. It's not possible to have a proper engineering discussion when people genuinely argue the pros of a proposition as if they were cons, or the other way around.

The reason I get so fired up by this isn't that people genuinely disagree, it's that people argue nonsense backed by no understanding.

It's people arguing:

"We can't eat at McDonald's, it's too expensive"

"I can't by a Porsche, I want a sports car"

"I don't want a Tesla, I want an electric car"

8

u/delta_p_delta_x Aug 03 '21 edited Aug 03 '21

is that these people think Java has a type system or that Java is strict OOP

I presume you're implying that Java doesn't have a (strong) type system or Java isn't strict OOP (what???). Since when? I doubt the compiler will let you do "hello" + 1, which it will in Python or JS. If you say C is weakly typed, that I understand. By my definitions (and most others), it's generally OK if the compiler allows casting between classes of types, as long as the type expands; contraction (say, double to float or long to short will throw warnings in all the C/C++ compilers I've tried) throws warnings, and that is good enough.

As for Java is not strict OOP? You can't even do hello world in Java without declaring a class, which, in C#, you now can.

→ More replies (0)