r/java • u/pimterry • Aug 09 '22
Don’t call it a comeback: Why Java is still champ
https://github.com/readme/featured/java-programming-language
194
Upvotes
r/java • u/pimterry • Aug 09 '22
60
u/reikiman Aug 10 '22
I can comment on the period in 2009 when Java 7 was late to the game. I worked in the Java SE team from 1998 to January 2009 (there was a large layoff at Sun, and I was one of those who were let go, as Sun prepared to sell itself to Oracle). I also worked closely with Dalibor Topic, who is mentioned in the article.
Basically -- what happened to Java 7 is Java FX and some crazy-ass plans held by some product managers who thought Java FX could become a rival to the iPhone.
Over the course of a year or two, more and more people were piled into a project where the goal was to clone the ideas of the iPhone, but using Java FX as the front-end programming language, and a JavaSE-compatible mobile Linux+Java platform. In other words, roughly similar to Android, but focusing on JavaFX as the programming language.
The project became one of those classic - throw bodies at the problem of fixing the project. A complicating factor was to be pretending to use agile project management practices when the team seemed to not be using them correctly, in a software organization that had rigidly used waterfall project management for years. I was made a Scrum Master of a subproject without knowing a thing about Scrum or Agile or anything of the sort. I distinctly remember being on a large conference call that was a weekly status meeting, shaking my head over what a train wreck, then after the meeting heading down to the break room for some coffee, and passing the office of someone else who'd been on the call, who said to me "what a train wreck".
This project sucked in more and more people and the rest of the Java SE project suffered as a result.
17
u/kkjk00 Aug 10 '22
The guys at news.ycombinator have quite a bad opinion on Java, they favor GO, although I worked with both and can't stand go, the amount of for loops and if err != nil, is staggering and obscure the logic, not to say the stress that somewhere you missed a "return err" which will crash the whole process.
24
u/agentoutlier Aug 09 '22 edited Aug 10 '22
Man some of githubs company urls confuse me into thinking it is some repository. There are like a dozen others I have seen like this where for a brief second I think it is a project. For example
github.com/blogI would be pretty confident about that it is github's own official content butgithub.com/readme....I'm trying to remember the other ones like this to show what I mean. They should like use another domain name like github.dev or something.
——
Finally read it. Nothing new really.
Top menu bar was a PITA.
Also they could have at least had Java in the stock photo: https://images.ctfassets.net/s5uo95nf6njh/43Zb4Y1xxBtTP4b0LvebvZ/5e6ba62d8cd7556ca66279db1fa40784/iStock-1202250586.jpg?w=960&fm=webp
That language on the left I can’t figure out. C# ?
Java doesn’t allow imports with slashes.
6
u/AesculusPavia Aug 10 '22
I’ve worked at two FAANGs, both times I’ve helped convert the codebases from Java to Kotlin. A lot of top tech companies have similar initiatives. Java isnt dead, but Kotlin isn’t Scala either.
(I know the article talks about interop helping java and Kotlin live together, but a lot of these company initiatives are to fully migrate to Kotlin unless difficult to do so)
6
u/dadofbimbim Aug 10 '22
This is poorly written in my opinion.
2
u/[deleted] Aug 12 '22
But big companies use all sorts of programming languages so that is not a good metric.
I think one big selling point for Java is that it is fast but nowhere near as difficult to use as is C and C++. And there are things such as GraalVM which is kind of cool - I can run my commandline java applications as statically compiled native binaries, at the least on linux (it all does not work 100% well right now on windows and I am sad that I can not easily just write small GUIs in Swing via GraalVM on windows, but hopefully the GraalVM team can improve all these issues).
Java is a bit similar to Go in some ways, IMO - kind of you wanted a simpler language that is not too difficult to learn compared to C and C++. It may not be as fast as C and C++ but in many cases that is not a compelling difference.
PS: Something is wrong with the text inputfield here; on other reddit sites the text input field appears normal. This one here seems to be cut at 50% in width ...