Live data from Hacker News

If Java Is Dying, It Sure Looks Awfully Healthy

drdobbs.com

191–200 of 327 posts

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

#191
post #116

Earlier quoted context omitted.

"There are only two kinds of languages: the ones people complain about and the ones nobody uses." -- Bjarne Stroustrup

Bjarne Stroustrup has no right of saying anything regarding language implementation and validity of users complaints.

This (admittedly fake) interview with Bjarne always makes me smile: http://artlung.com/smorgasborg/Invention%5Fof%5FCplusplus.sh...

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

#192
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.

If Java wasn't the most used language out there, Android almost certainly made it so.

I quite like Java too, besides C#, I don't think there's any good alternative for bigger projects.

My dream would be Ceylon replacing Java some day. After looking into many newer languages aiming at a similar market as Java (Scala, Clojure, Dart, Kotlin), I believe that Ceylon is the best-designed statically typed programming language out there.

They've made incredibly good and pragmatic trade-offs between features, readability, verbosity, expressivness, speed, toolablity, familiarity, etc.

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

#193
post #116

Earlier quoted context omitted.

"There are only two kinds of languages: the ones people complain about and the ones nobody uses." -- Bjarne Stroustrup

Bjarne Stroustrup has no right of saying anything regarding language implementation and validity of users complaints.

Could you substantiate your statement please.

I find that he is in a good position to do so because C++ evolved based on feedback from people using it and he was responsible for the first version(s).

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

#194
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…

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.

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

#195

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.

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

#196
post #161
post #102

Earlier quoted context omitted.

True, but you can't spruik that and then tell us in the next breath about the wonderful developer tools and Intellisense, etc., because most of that doesn't exist outside Windows. With Java it's not just the JVM that is cross platform - the whole developer ecosystem and culture is from the ground up. Every IDE, every compiler, every tool, all runs on every platform. It has it's holes, but largely Java actually achiev…

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.

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

#197
post #191

Earlier quoted context omitted.

Bjarne Stroustrup has no right of saying anything regarding language implementation and validity of users complaints.

This (admittedly fake) interview with Bjarne always makes me smile: http://artlung.com/smorgasborg/Invention%5Fof%5FCplusplus.sh...

It's a shame it focuses on OO as the main problem with C++.

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

#198
post #4

Well what do they teach in schools? When I was attaining my degree during the end of the last century, Java (and XML) was being trumpeted as the saving grace for all soon to be software professionals. We were all in love OO programming and this scratched us right where C++ left an itch. Oh Java Beans and Servlets, how we loved thee. It’ll take decades before all the code created by those who came right before me and…

I don't think the industry is driven by academia. Plus, no CS degree program worth the paper it's printed on even claims to teach Java. If yours did, I'd ask for a refund. Typically schools USE Java to teach computer science topics, for instance my university used it in the Intro course, where we learned program flow control and some OO principles, and in our Data Structures course where it was nothing more than a to…

You'd be shocked at how many bad schools exist. I graduated from a university that tried to drop "Data Structures and Algorithms" because it didn't translate well to the workplace, and that university is deemed to be okay for Computer Science in the UK. I ended up taking it, but a lot of other students in my class weren't happy. We even complained to the British Computer Society, as the Computer Science degree was accredited by them, but nothing came from it.

My university pushed Java down our throats whenever they could. We also spent a lot of time with Prolog and C, but Java was taught as if it was a perfect language for anything a developer could possibly want to do. I joined a Masters degree programme at a top ten university in the UK and I was blown away by the difference. The facilities were no better, the lecturers no better, and the students no better. The only real difference was the curriculum, and the administration. At bad schools the curriculum is focused on raising the hiring numbers and the adminisration deal with so many kids that they couldn't give a shit about their needs, whereas at good schools they try to stay true to the subject and those running the degree programme have done a good job, and will make things run smoothly.

I would say that students from bad universities probably end up just as good at programming as those from good universities. The big difference is how they cope when they leave their comfort zone. I'm a .NET developer and I've seen some students brought up in Java really struggle, which is fairly shocking when you consider the similarities between the Java language and C#. A good student from either will adapt either way.

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

#199
post #173

Earlier quoted context omitted.

OT:, pardon this non-native, what does "spruik" mean? I can only find this[0] but it seems an intransitive verb compared to what you used [0] http://dictionary.reference.com/browse/spruik

Heh, I didn't even realise it was Australian slang. The meaning from your link is correct - to sell, extoll the virtues of or try to convince other people to buy something.

English. spruikers are the guys at open air markets screaming out the virtues of their wares.

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

#200
post #80
post #66

Earlier quoted context omitted.

C to both of your questions. The JVM compiler compiles for the JVM, which is written in C. So, how again can something written in C perform faster than...something written in C? I'm not claiming that line by line transcription, C will always perform each particular operation faster than Java. But the fact that you could write the entire JVM in C means that you could recreate the exact platform and replicate the resul…

> So, how again can something written in C perform faster than...something written in C? Easy. JVM has runtime information it can use that C compiler simply doesn't have. There are some synthetic benchmarks that show how "java is faster than C".

You're wrong. http://en.wikipedia.org/wiki/Profile-guided_optimization The method for C/C++ is just different to JIT. Compile program, collect profile information, optimize program guided by profile information.
Post reply on HN