News for hackers. Stuff that matters.
Re:Please stop saying Java sucks by Someone1234 on Wednesday June 24, 2015 @12:00PM (#9772494)
Java is fine. It did lag a little behind there for a few years, but the last two Java releases have really pulled things together.

I will say C# is still my preferred language just for quality of life reasons, and I also feel like Java has been largely relegated to either web-backend or enterprise desktops. There is no practical way to deliver a Java application to an consumer now, Java Applets are "dead" and running Java on the desktop is a pain. Minecraft is likely the only reason any non-business user has Java still installed.

But saying Java is "only" good for web-backend stuff is kind of like saying a car is "only" good for driving. That's where the majority of new development currently happens and it has a very bright future. Java on Tomcat delivers that experience just fine (although C# w/MVC is still my poison, again for quality of life stuff).

Re:Please stop saying Java sucks by copperx on Wednesday June 24, 2015 @01:08PM (#9772978)
Could you explain the "quality of life" bit? Are you saying that if you programmed in Java life would be hellish?
Re:Please stop saying Java sucks by Someone1234 on Wednesday June 24, 2015 @01:31PM (#9773111)
This article summarises the differences: https://msdn.microsoft.com/en-us/library/ms836794.aspx

Although it is a little out of date in some areas (for both languages).

C# has been stealing from F# for several versions now, so we get all kinds of nice shorthand for accomplishing sometimes complex operations.

Re:Please stop saying Java sucks by TheLoneWolfling on Wednesday June 24, 2015 @07:47PM (#9775176)
Off the top of my head:

* A half-decent type system

* No half-baked primitive / object distinction

* The `as` operator

* Various operators related to null

* Ability to distinguish if something is nullable or not, and to have nullable and non-null references

* The `checked` keyword

* Operator overloading

* Properties

* Syntactic sugar w.r.t. getters and setters

* out & ref parameters

* struct support

* unsigned values

All of these things are major pain points in Java. Some of them can be overcome by running external tools, some of the time. Hopefully.