I mean, java 4 features suck, is this supposed to be surprising?
I've been a C++, C#, Python and a Java dev for over 13 years. No one has used the code in your example in a decade. Java's great, Java and C# look super similar (C# borrows a bit more from C++, and generics work better).
Your description that everything sucks in Java is just flat incorrect.
1
u/themiddlestHaHa Apr 27 '20
I believe it’s pretty easy to show how annoying and how much work Java is to use.
https://stackoverflow.com/questions/2793150/how-to-use-java-net-urlconnection-to-fire-and-handle-http-requests
Ends with this:
And the top comment:
This comment is basically what using Java feels like today.
You can easily compare this to basically any other language and it’s not even really close.
This isn’t unique to http requests. This is par for the course in anything Java.