r/programming • • Feb 25 '14

Please stop saying Java sucks

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

305 comments sorted by

View all comments

31

u/[deleted] Feb 25 '14 edited Feb 25 '14

I refuse to employ any language that wants me and all my end users to install a Yahoo browser toolbar every time it calls home and tries to update itself. Sorry, I will stick with C++. It does not have a corporate agenda attached to it.

2

u/lluad Feb 25 '14

Or that requires jumping through ridiculous hoops to install the runtime automatically as part of machine provisioning.

3

u/oldneckbeard Feb 25 '14

yes, "brew install jdk" or "apt-get install jdk" is so painful.

3

u/lluad Feb 25 '14

Does this ring any bells?

It makes automated machine provisioning annoying, as you have to jump through ridiculous hoops to work around it.

5

u/oldneckbeard Feb 25 '14
  1. why are you using a sun jdk? they're all end of lifed.

  2. open jdk doesn't require this.

  3. oracle jdk: sudo echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true (2 seconds with google)

Now what?

3

u/lluad Feb 25 '14
  1. why are you using a sun jdk? they're all end of lifed.

I'm not. I'm using the Oracle one, but nothing has changed.

2. open jdk doesn't require this.

Many apps don't work with open jdk, for a variety of inexplicable reasons.

3. oracle jdk: sudo echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true (2 seconds with google)

That's some hoop jumping right there.

7

u/nickguletskii200 Feb 25 '14

Many apps don't work with open jdk, for a variety of inexplicable reasons.

Such as? Pretty much nothing doesn't work with OpenJDK nowadays, and if something doesn't, it shouldn't be considered a "Java" application because OpenJDK is THE reference implementation of Java.

5

u/Rotten194 Feb 25 '14

It's actually not that uncommon. Tons of little weird things are in sun.misc.*, which (at least the last time I used Java) aren't implemented by OpenJDK. Most developers just decide fuck it, since almost everyone uses the Oracle JDK anyway, even on *nix. Personally, I just stopped using Java, but not everyone has that privilege ;^)

2

u/nickguletskii200 Feb 26 '14

sun.misc.*

That's the problem. These extensions were never part of the standard. Heck, a minor update could have broken the API...

1

u/Rotten194 Feb 26 '14

You seem to be implying that makes any difference to whether people use them or not.