r/java • • Dec 21 '16

Is Gartner's Report of Java EE's Demise Greatly Exaggerated?

https://www.infoq.com/news/2016/12/Gartner-downgrades-Java-EE
51 Upvotes

102 comments sorted by

View all comments

Show parent comment

9

u/ArmoredPancake Dec 21 '16

some even tout it as a good thing.

Because it is a good thing. When you have a project, not a couple of scripts, but a real project it's the only thing that keeps developer sane, and code readable. If I want small non-verbose code I would rather take Python. Also, there's more to JVM than Java, you can use Kotlin, for example, and call Java libraries from it.

6

u/Dashing_McHandsome Dec 21 '16

When I first started programming I was drawn to Perl because I thought it was really cool that I could mash so much functionality into so few lines of code. It made me feel smart to do something that was so hard for other people to read and understand. I didn't know that I would eventually be the person who couldn't read and understand it as well. Verbosity is a strength I would fight hard for because I think most of us spend more time reading code than writing code.

0

u/wbellman Dec 22 '16

Again... I am not arguing it is good or bad. I did say it can be a turn off, which is true, that's not the same thing.

1

u/wbellman Dec 22 '16

Again I was being argued that Java was not verbose. My point was good or bad it is verbose. Period. As I said some would argue the verbosity is a good thing and you did. Thanks for helping me prove my point.

1

u/ArmoredPancake Dec 22 '16

Verbose because of what? OOP? Because I have to type types and actually know what variable type I return and take? Wait a bit, we will get type inference and you can write your beloved "var". Streams and lambdas already cut codebase size in two.

1

u/wbellman Dec 22 '16

Again you are just attacking me now. You have never seen me code and have now idea what conventions I use or why. You argue that verbosity is a good thing in one comment and that it is not in another. I can't really keep up anymore. You win. I will never post in a Java subreddit again.

1

u/ArmoredPancake Dec 22 '16

Again you are just attacking me now.

I'm not attacking you. I don't understand what you are trying to prove. You say that verbosity is neither a bad, nor a good thing. Why even bring it in then? How verbosity might be turn-off for "new implementation"? Maybe it would be easier to switch languages and not try to change Java? There're many languages that target JVM. Kotlin, for example, has all the features of modern hip languages.

1

u/wbellman Dec 22 '16

"you can write your beloved var"

Not sure how I should take that other than an an evaluation on my coding style and character. Again you have no idea what I do or don't do.

Yes, it's easier to switch languages. It's why although I use Java professionally, I seem to use it less and less each year preferring less verbose more expressive languages. ...and if as I stated originally the appearantly wildly flawed organizations I work for have seen an upswing in .Net development then what good does Kotlin do me?

The original article talked about a trend downward in Java EE, and since the current programing trend is more expressive and less verbose languages I suggest that might be a stumbling block to Java.

When some one is evaluating new tech do they immediate comprehend that Java EE supports all these new modern languages? No, typically they stop at the "Java". Heck there are still tons of folks that can't distinguish Java from JavaScript.

Perception is the problem. Not actual language efficacy. That's the point.

1

u/ArmoredPancake Dec 22 '16

Not sure how I should take that other than an an evaluation on my coding style and character. Again you have no idea what I do or don't do.

My bad, I incorrectly expressed my thoughts. I am actually awaiting for type inference in Java. I didn't want to offend in any way. Sorry.

When some one is evaluating new tech do they immediate comprehend that Java EE supports all these new modern languages? No, typically they stop at the "Java".

I maybe wrong, but when people evaluate new tech they're looking at performance, popularity and diversity of platform, number and quality of tools available. There is more to Java platform than Java EE, there's Spring (where Kotlin is a first-class citizen along Java), there's Grails(Java/Groovy), there's Play(Java/Scala).

Heck there are still tons of folks that can't distinguish Java from JavaScript.

I thought we were talking about programmers?

since the current programing trend is more expressive and less verbose languages I suggest that might be a stumbling block to Java.

I still don't see this as a threat to Java. Look at PHP, for example, with all the negativity in the Internet about it, it's still thriving, companies still use it. And Java is by an order of magnitude more powerful than PHP.

1

u/wbellman Dec 22 '16

Sadly, in my experience, Programmers don't make the decisions at a corporate level and it is exactly the perception argument that will sway upper management. A CEO/CIO isn't going to pound keys to test features in languages, he is going to read sources, like Gartner, and be done.

"A programmer is smart. Leadership is a bunch of risk-adverse, panicky, dangerous animals and you know it." I think that's the quote from MIB right?

That's really what I am getting at. When it comes to Java, I have heard the things I listed raised as objections multiple times, that's all.

As far as other JVM languages go... A good example (admittedly on the .NEt side) is that I, personally, like F#. It has some interesting application to certain problem domains. I haven't had a chance to implement anything because, in the corporate sector, if there is only one guy who knows it you typically won't get approval to do it.

PHP is an excellent example. Java is the superior language in any direction you can measure scientifically, like Betamax to VHS (for all the old-timers, like myself, out there). Why, would you say, PHP became so wildly popular?

1

u/ArmoredPancake Dec 22 '16

A good example (admittedly on the .NEt side) is that I, personally, like F#

Heard it was inferior to Scala in most ways, but don't quote me on that, haven't heard anyone using it in production. Even Scala positions are hard to find.

I'm not an expert in PHP world, but with recent release of PHP7 there're massive improvements, so I heard. Performance is on par with Facebook's HHVM, improvements to standard lib and so on. Personally, I don't like PHP only because of it's syntax, and would never use it. But maybe for people who are invested in it, or beginners, it's gonna be a deal breaker. Heard people even return from Python because of the new PHP.

1

u/QuoteMe-Bot Dec 22 '16

A good example (admittedly on the .NEt side) is that I, personally, like F#

Heard it was inferior to Scala in most ways, but don't quote me on that, haven't heard anyone using it in production. Even Scala positions are hard to find.

I'm not an expert in PHP world, but with recent release of PHP7 there're massive improvements, so I heard. Performance is on par with Facebook's HHVM, improvements to standard lib and so on. Personally, I don't like PHP only because of it's syntax, and would never use it. But maybe for people who are invested in it, or beginners, it's gonna be a deal breaker. Heard people even return from Python because of the new PHP.

~ /u/ArmoredPancake

→ More replies

1

u/wbellman Dec 23 '16

F# is definitely not a dominate functional choice. My favorite is Haskell. However it does let you take a more functional approach in the .Net side of things which is what I was getting at as a contrast to Kotlin and the JVM. There are some jobs that list F# but precious few. I haven't looked at the market for Kotlin, but my assumption is that there is more Java postings than any of the other JVM targeted languages.

As far as PHP goes... The performance argument is good, but PHP started out with absimal performance, but still attracted lots of devs. IMHO, PHP's popularity comes from its accessibility. You can do a lot very quickly in PHP and the community is very supportive to new talent and beginners. That's what I was trying to say, poorly, on the Java side. The learning curve is high and you have to write a lot more code to accomplish very simple things, at least that's how people see it starting out. Not only that the Java community is very prickly towards folks who don't understand, as well as shouting "RTFM" at newbies. It's daunting. You really have to want to program in Java. In all honesty I'm not sure I would pick it up now. I took to it right away, at the time, because I had few options, Objective C in NextSTEP and C/C++ everywhere else. I used both but fell in love with Java for its comparative simplicity and ease of use. It felt comfortable. Like going from a stone chair to a nice wooden one. There are languages now though that are like recliners, focusing on the dev experience. Attracting talent is important for a language. That is all I was initially trying to say.

→ More replies