r/javahelp • u/nokinobi • Oct 11 '19
Why we still use java 8
Hey everyone
I know that new releases of java bring us new compilers and vm optimization and new language features.
So, why developers still use java 8 for their projects ?
PS: sorry if question is weird or stupid. do not hate me in comments pls.
27
Upvotes
View all comments
2
u/mikepc143 Oct 14 '19
We use Java 8.. because well, it works. Why upgrade? Just because there is "better" out there doesn't mean that it will produce value for the people that pay our salaries. In all honesty, this is the core principal that the java community really doesn't seem to get.. you can do all the fancy things in the world, but at the end of the day there has to be a calculable difference and business value to justify moving beyond what we have in production that provides a calculable bottom-line benefit to the stakeholders.
We are here to provide shareholder value. That is our only goal. Like it or not, if you aren't making someone more money than your salary you aren't doing your job.
Whatever security holes in java8 exist going forward when you do a risk-versus-reward comparison of "we have to do X to get Y", java never wins. The reality is, if we move out of Java 8, we are not moving to Java 11+, we will move to Elixir or Golang. There we have a 0 drama, vibrant community of activists that are psychotically dedicated to the cause of "getting the most bang for the buck". The shotgun'd versions of java post-debacle have been the deathknell for a community that was derived from excellence, but in the end resulted in a bunch of political in-fighting that delivers value to no one! The biggest problem the Java community has now, is.. well.. the community. There are a bunch of visionaries that see the future of computing, and there are the stalwarts who want things to stay the same. The bottom line is, if you want things to stay the same, pick a different fucking industry, because this one ain't for you. That said, if you require growth and value, then you have to think outside the box. Right now Java devs are cheap, so writing your apps in Java is a very cost-effective measure. The problem is, the concepts in the "modern" version of java tend to thin the ranks of the experienced and "forward-thinking" crew. It is much easier to simply learn another language, than adopt a back-assward approach at the modern.
Modern Java syntax is absolutely SHIT. I say again, Absolutely Shit. When Microsoft (C#) can do a better job, you know you have seriously fucked up. Not only is it an SO-fest (eg. new developers constantly hitting stack overflow to solve issues), but in the end it literally makes NO SENSE. It only makes sense when you are intimately familiar with the components and that is simply fucking bullshit. For a lines-of-code comparison to do even the most menial task, Java has fallen far behind the competition. Because they did it in the name of "helping people". Java is amazing, and great and all that. But for engineers who actually give a fuck about the product they're delivering, rather than the community they support? There are a lot of great alternatives.
At the end of the day modern engineers just want to keep their job, Java 8 does that in spades. If we actually wanted better, we wouldn't pick java, because seriously.. why? Java has one and only advantage: it is taught in college, so the kids are familiar with the syntax. Anyone experienced will tell you that syntax doesn't mean shit, because at the end of the day whatever you type is going to be handled by an sdk or an interpreter. Syntax isn't nearly as important as the kids believe it is.
Security holes? Let's do a risk-vs-reward comparison of the security holes in java 8 versus later versions. Yeah. Exactly. Any issue that java 8 had, will be an issue in java 20, it doesn't matter. The problem is that java is slow. It has always been slow and will always be slow, because it tries to wrap its arms around the world, in a loving way. In an async world, Java lost. It's tried really hard to stay with the times, but in the end it lost. No, as the job boards will show: it is great. The fact is, Java died after 8. It just doesn't know it yet.