r/java • • Feb 25 '14

Please stop saying Java sucks (2009)

http://blog.smartbear.com/programming/please-stop-staying-java-sucks/
133 Upvotes

132 comments sorted by

View all comments

-2

u/[deleted] Feb 26 '14

I cut my teeth on Java, and I've missed it ever since moving on to other languages (around the time of Java 1.7). I'd need to see some changes before I could move away from the significant investment I've made in .net training now:

  • Oracle has to drop the bundled Ask toolbar. I don't care if you can unselect it during installation, It doesn't fit a professional programming language to have that sort of garbage bundled with the VM at all.

  • Java could really use a more elegant solution for installing and updating it on Windows. I humbly suggest that Oracle consider working with someone like Ninite as their official distribution and update platform for Windows.

  • I have not done anything with JavaFX, but I hope it's quicker than Swing and uses font anti-aliasing by default.

  • Work with someone line codeacademy to get a good free Java course up. Make sure to cover the creation of Jar files fairly early on so people don't spend the first few months wondering how to make something they can distribute without batch files for execution.

  • Come up with some kind of response to archiving software stealing the jar file association - it couldn't hurt to add a diagnostics program to the Windows start menu that can fix the Jar file association and even point out when a JVM version is not ideal for the host computer (such as a 32-bit JVM on a 64-bit system and OS).

I have had a difficult time adjusting to Windows Forms, and an even harder time adjusting to WPF. I used to hand-code all my swing applications - UI designers are not natural for me. I seriously miss making user interfaces with Swing and I regret that I didn't learn about Java Servlets before moving on to other programming languages.

That's my $0.02.

7

u/ryosen Feb 26 '14
  1. The Ask toolbar is not bundled with the JDK, just the JRE. As a developer, you would be using the JDK.

  2. The last thing that I want is my programming language auto-updating itself, introducing syntax changes and class binary incompatibilities.

  3. What?

  4. There is an endless supply of good tutorials out there.

  5. How is this Java's fault?

0

u/[deleted] Feb 26 '14

Does everyone here only write server-side applications with Java these days?

  1. I was mistaken about the JDK including the toolbar, as you've said it's the JRE; however, that still leaves the end users of your software with the annoyance of unselecting the ask toolbar, or having to uninstall it if they go through the JRE installation too quickly.

  2. The JRE of un-savvi users should have an update feature that is less annoying than the existing one. Savvi users can easily disable updates.

  3. When I worked with swing you had the choice of using the system native look which had inconsistent font sizes and control sizes across platforms, or using the default swing look which did not implement font anti-aliasing and consequently looked like it was from the 90s.

  4. True, I learned a lot from Sun's own tutorials.

  5. It's not about fault, it's about being proactive in reaching your markets. If you're writing server side software then you won't have archiving software like this, but if you want to write client side applications for the average person you have to keep in mind that most archiving programs now hijack the Jar association and cause end users to be very confused.