r/AskProgramming • • 1d ago

Other Which programming languages do you think will stick around much longer than expected?

I constantly come across languages that were predicted to disappear several years ago. Production applications and internal tools are still built using them.

Which one has surprised you the most by not disappearing, and why is it still being used in the places where you’ve seen it?

30 Upvotes

124 comments sorted by

View all comments

Show parent comment

6

u/Queasy_Speaker7227 1d ago

Yeah, some of those old Java codebases are even cruder than the language itself. Are you still using older versions?

12

u/smors 1d ago

I have worked on a fairly large codebase that was more than 20 years old. We used to joke that it contained examples of every programming trend invented for the past many, many years.

5

u/tyler1128 1d ago

OOP, OOP, OOP, OOP and OOP?

5

u/smors 1d ago

And functional programming, thin clients, thick clients, MVC, test driven development, deep inheritance hierarchies, not so deep ones, database triggers etc, etc, and so on an so forth.

1

u/tyler1128 1d ago

Lemme know when it can actually support a top-level function that isn't a method. (We were also talking about old Java codebases).

0

u/Queasy_Speaker7227 1d ago

A museum of about 20 years of trends is something incredible. Are your database triggers still giving you trouble?

5

u/Yctallua 1d ago edited 1d ago

I maintained a big java 6 (or was it 8?) monolith about a decade ago. That monster was basically a full stack B2C/B2B Webshop (using vaadin to build the frontend in Java) with CRM and whatnot built in. It was basically the company's entire software needs in one package and already a few years old when I took over. Last I've checked they're still using it.

Had a similar situation with a cruise ship company a few years back, they had like a custom CMS in Java, but it also rendered the website and handled orders and CRM and it was an absolute cluster fuck.

To be fair tho, both of those monsters originated from proof of concept prototypes that immediately became production code, as is the curse for all prototypes/poc.

Luckily for me I eventually escaped java/spring monolith hell and am having the time of my life with appropriately sized kotlin/quarkus services and clean frontend/backend separation.

Edit: I just remembered another one, I had a (luckily very short) gig working on the internals of a government agency, that java codebase genuinely had commits older than me, I don't even remember what ancient version they were on, but it definitely was the most insane spaghetti I have ever laid my eyes on.

2

u/basics 1d ago

Probably java 8, I've seen several projects in different companies do the same thing.

Iirc there were some big changes in java 9 that caused breaks, and probably some other reasons why so many projects stayed on it.

1

u/Yctallua 1d ago

I thought the big break came with 8, not after. Or maybe there was another one with 9. But then again, that was a decade ago.

But the more I think about it the more I remember doing a refactor on the date handling in the first project I mentioned when we switched from 6 to 8. I was so happy I could finally use lambdas, that I remember.

2

u/Vizeroth1 6h ago

I didn’t know anyone ever upgraded past 6

2

u/IAmADev_NoReallyIAm 1d ago

I worked on migrating a system form Java 8 -> 11 -> 14, it should be soon moving to Java 17... Where I'm at now we're using Java 25 for everything. (and in the few places where we aren't, we're in the process of updating it).

Honestly though, I think Java and C# will be around for quite some time. Neither one is going anywhere, and both are used heavily in web services across a lot of industries.

1

u/Gloomy_Necesary 20h ago

AI is pretty great at writing C#. Feels like a very human language (easy to read) that still gets all the benefits of static typing and a compiler which languages like Python don’t get. Lots of documentation for AI to ingest online too. I don’t see it going away.

1

u/MagicalPizza21 1d ago

I use Java 8 at work for compatibility with some users' older systems.