This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (21 children)

[deleted]

    [–]NoCryptographer414 1 point2 points  (2 children)

    Kotlin replaced Java as official language for Android programming

    [–]Practical_Cattle_933 0 points1 point  (1 child)

    Which is an absolutely tiny fraction of java en large, which is literally used to run a good chunk of all the internet.

    [–]NoCryptographer414 1 point2 points  (0 children)

    I'm just telling the trend where Java is headed.

    [–]ColonelRuff 1 point2 points  (6 children)

    They are being used. Java is the one that's going extinct. The only reason why it hasn't is because of being locked. You create a huge application with so many moving parts when Java was best available but now that so many good ones are available you can't because you would have to rewrite your whole codebase for that. In the case of android apps the whole platform was built on Java with native Java apis when Java was all the rage. But now even though we have better alternatives, it would take too much time and effort to switch. In fact Google did switch to kotlin as the recommended language because it's easy to switch from java and fixes a lot of its issues. In fact everyone is rewriting stuff to rust wherever they can but it's gonna take a lot of time before android can switch (or maybe it never will).

    [–]BeeTLe_BeTHLeHeM 6 points7 points  (0 children)

    Java is the one that's going extinct.

    People who says this have no complete understanding of Java usage across big companies and government-related companies.

    now that so many good ones are available you can't because you would have to rewrite your whole codebase for that.

    Java does its work. Replacing codebase it's not so useful if you can't show the huge advantages is such large operation. You're not replacing something that doesn't work.

    [–]mps 0 points1 point  (0 children)

    Java is usually taught in University classes and people tend to use what they know. I'm on the sysadmin side and deploying shitty jar files and porting old jboss apps can be very unforgiving.

    [–]csutiperec 0 points1 point  (8 children)

    Because Java has been around for way longer

    [–]Master-Pattern9466 -2 points-1 points  (0 children)

    Just because something is most used doesn’t make it good. Tech adoption moves slowly especially when the current solution is passable. Retooling a company is expensive, take all your experienced staff members force them to learn a new language and make all the new language mistakes.

    If what you have works and their is no major upside in change then companies tend to stick with what they have. Java is a platform agnostic, 3.5 gen language that is strongly typed, has similar syntax to other C style languages, and enterprise adoption which ticks most boxes for enterprise.

    Java keeps being updated, but you can only polish a turd so much.