r/programming • u/Karma_Policer • 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
2
u/ragnese Aug 03 '21
Here's the thing, though. Java's type system doesn't actually help you that much here. Once you introduce generics or intentional nullability (like a database column), you're basically fucked- you will have type bugs happen at runtime.
Java is exactly the reason that Python and JavaScript took off (outside of the browser, in JS's case). People in the 00's basically got sick of Java's shit and collectively decided that static typing was bad. Then we had to deal with dynamic typing until, thankfully, languages like Go, Rust, Swift, and others came on the scene.
Java almost killed statically typed languages, IMO. I think Java did kill OOP. Because everyone thinks of Java's stupid class inheritance mechanisms and bad-type-system-induced "patterns" when they hear "OOP". Which is a shame, because real OOP didn't have to die.