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.
If Java Is Dying, It Sure Looks Awfully Healthy
191–200 of 327 posts
Re: If Java Is Dying, It Sure Looks Awfully Healthy
#192I'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.
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
#193Earlier 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.
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
#194Earlier 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…
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
#195Java 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…
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
#196Earlier 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
Re: If Java Is Dying, It Sure Looks Awfully Healthy
#197Earlier 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...
Re: If Java Is Dying, It Sure Looks Awfully Healthy
#198Well 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…
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
#199Earlier 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.
Re: If Java Is Dying, It Sure Looks Awfully Healthy
#200Earlier 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".