Live data from Hacker News

If Java Is Dying, It Sure Looks Awfully Healthy

drdobbs.com

241–250 of 327 posts

Re: If Java Is Dying, It Sure Looks Awfully Healthy

#241

Earlier quoted context omitted.

What other statically typed language is similarly fast, has massive ecosystem and great tools? (You need static typing to have Java-like tools.)

Now you're just adding more axioms :)

You mean that "static typing allow better tools"? That's a fact ;) It allows IDEs to do smarter autocomplete, better refactorings, more static error checks, etc.

Re: If Java Is Dying, It Sure Looks Awfully Healthy

#242
post #90
post #43

I'm surprised nobody has mentioned Android yet. When you add in the Android factor, Java is probably still one of the most widely used programming languages today. It's funny the article straight away brings up the verbosity argument as well. You want to talk about verbosity - take a look at Objective-C and Cocoa (again, hugely popular today!)! Personally, I quite like Java.

Popular in terms of use, yes, but liked? I don't know, I doubt it. Android and iOS essentially force you to use Java or Objective-C respectively. I don't hate Java, but I don't like it either. It lacks quality of life features that other, similar languages have had for years. I can't stand writing code in it if I don't have to (and don't get me started on Objective-C...) From what I hear from others and read on a wee…

Java is a commonly used language, but not very popular according to a Hacker News poll from 2012:

https://i.imgur.com/toGKy21.jpg

In fact, it's likability percentage is worse than PHP!

I think the issue may stem from the fact that given a choice, few people use Java in their own projects but have no choice at work.

Re: If Java Is Dying, It Sure Looks Awfully Healthy

#243
post #122

Earlier quoted context omitted.

> I'm surprised nobody has mentioned Android yet. When you add in the Android factor, Java is probably still one of the most widely used programming languages today. Except that Oracle was right into suing Google, after all. Google hasn't improved the language level beyond Java 6 grammar. So nowadays one is forced to write in Java 6 when targeting Android, which is really a pain, specially when writing libraries. Thi…

Actually, you can use the following on Android from Java 7 and 8: - Case/Switch Strings - Auto closing files handlers (via adding a few classes/interfaces). Also known as "try with resources" - Integer literals - Multiple exceptions in a catch block - Lambdas via RetroLambda[2], which compiles Java 8 bytecode into 7 or 6 Used them all in several projects with 20-100k+ downloads with no user reported errors related to…

It is not official part of Android SDK, which only supports Java 6 officially, so not possible to use in our enterprise projects.

Thanks for the tips, though.

Re: If Java Is Dying, It Sure Looks Awfully Healthy

#244

Earlier quoted context omitted.

I have been using Scala for both server-side and Android projects. Android doesn't have such a capable VM and Scala is a little wasteful in terms of short-term objects, but using Scala while being mindful about performance implications of the code you write is still better than Java. In fact on Android you can use pretty much any language under the sun, including languages that don't run on top of the JVM. The develo…

> The development experience may not be as great as when using Java Exactly. I'm pretty sure that switching to something like Scala wouldn't improve my productivity.

We've got a parable in our country about a lazy bastard, that couldn't do anything out of laziness to the point of dying from hunger. One day a woman offers to help him, to give him shelter and food. To which the lazy man asks in response ... will you soak my bread? (sounds much better in Romanian)

Fuck dude. You're a developer. If you want productivity, make shit happen.

Re: If Java Is Dying, It Sure Looks Awfully Healthy

#245

Earlier quoted context omitted.

Sure. Nowadays the consensus is that C++ introduced more problems into the industry than it solved. Moreover it keeps introducing more and more problems with each new revision. In this light his statement is merely an attack upon his critics e.g. "Haters gonna hate..." while ignoring the possibility that criticism of "his" programming language is well founded. Sure people bitch about every language sometimes. Hell I…

"While systems programmers are fleeing from C++ back to C(!!!)" Example? I know of new developments in systems programming written in C++ (LLVM, clang, WebKit, FireFox (or did that start in C?)), I know of some that moved from C to C++ (gcc, maybe FireFox), I know of new developments in C (Linux, git), but I not aware of any system going from C++ to C. They may exist, but I would need more than a few examples to be c…

Example: microcontrollers and embedded systems.

Some time ago there was a shift towards c++,but a large percent are returning back to c.

That's what i recall from surveys from UBM, the company that runs eetimes.com .

Re: If Java Is Dying, It Sure Looks Awfully Healthy

#246
There is Java and there is the JVM. Both are doing well, but Java is progressing slowly, and more and more developers -why actually now what they are doing- are looking into alternatives. These may also be languages running on the JVM though.

Java as a languages is getting old, in terms of concepts and verbosity.

Functional programming is what is -the next big thing-. And most java-only developers don't know how todo that.

While it is still thriving, there is an unstoppable move to newer, more functional languages (which can run on the JVM too).

Re: If Java Is Dying, It Sure Looks Awfully Healthy

#247

Java may not be dying, but it does take off early on Fridays for golf. Java is not dying the same way Cobol was not dying 10 years ago. It has a lot of legs left but nobody is 'hoping' to use it, they are told to do so. Java is and always has been almost completely a corporate tool. Again, like Cobol, so the 'cool kids' are not going to give it much love. It's too slow to execute to compete with C++, its too slow to…

Comparing Java to Cobol is ridiculous. I'm in the cool kids category and I like Java. If you don't want to / can't use C#, there's simply no alternative for bigger projects. Groovy - slower, much worse toolability Scala - less readable, slower, slow compilation, worse toolability, too complex.

Java is the common, business oriented language of today. How do you you think it's not like the original COmmon Business Oriented Language? It's being used by the same sorts of guys to write the same sorts of apps, no?

Re: If Java Is Dying, It Sure Looks Awfully Healthy

#248
post #161

Earlier quoted context omitted.

Xamarin is wonderful. There's a huge .NET OSS ecosystem out there. You might be surprised with what can be done with it. http://xamarin.com

Unfortunately it looks like xamarin has completely abandoned linux as a platform.

Citation please?

Re: If Java Is Dying, It Sure Looks Awfully Healthy

#249
post #60

I've run the Java Users' Group in Philadelphia for almost 14 years, and I specialized in Java recruiting between 1999-2010. I know a lot of Java pros. Our meetings still get pretty strong attendance (80-120 per meeting), but I'm seeing far fewer new sign ups and the faces are much the same. There could be several reasons, but young engineers that I speak with rarely have any interest in Java work (though JVM is still…

I think interest overall in software development has plateau'd recently. I go to software events and think, "of five million people in the area, these are the fifty really interested in software development. Half are probably hobbyists, and the other half are probably already employed. A person that needs to hire a developer has big problems."

I'd disagree with that. In my area, the software dev population has just become segmented as different languages and tools became popular. When I started the JUG, there was an active Perl group and a Linux group but little else that drew a crowd. Now there is a strong Python group, 2 Ruby groups, a Scala group, a Clojure group, an FP group, a big data group, a Node group, Android and iOS groups, and probably a handful I've not even considered.

I know most of the other groups still draw smaller crowds than JUG, and there are several possible theories or justifications for that which have nothing to do with language popularity.

This of course is anecdotal and represents Philadelphia, but I'd imagine other locations have some similar experiences.

Re: If Java Is Dying, It Sure Looks Awfully Healthy

#250
post #174
post #90

Earlier quoted context omitted.

Popular in terms of use, yes, but liked? I don't know, I doubt it. Android and iOS essentially force you to use Java or Objective-C respectively. I don't hate Java, but I don't like it either. It lacks quality of life features that other, similar languages have had for years. I can't stand writing code in it if I don't have to (and don't get me started on Objective-C...) From what I hear from others and read on a wee…

> Android ... essentially force you to use Java You can use many languages which compile down to Java Byte code.

>> Android ... essentially force you to use Java

> You can use many languages which compile down to Java Byte code.

And then you end up with subpar performance and application size :(

I had high hopes for Mirah for Anrdoid development few years ago, but it unfortunately fade away. It was basically Ruby like language that compiled down to pure java bytecode without a need for any runtime. That would fit Android perfectly.

Post reply on HN