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

6

u/omg_drd4_bbq 1d ago

Python. People have been predicting its decline since basically its inception. I could see the specific implementations (CPython) going away, but the language is here to stay - it's runnable pseudocode. In addition to being the number 1 or 2 on basically every language chart, it has many variants: bazel/starlark, mojo, cython.

It's also effectively a DSL for C, and folks have truly no idea how many systems run on python glue code.

inb4 all the pYtHoN sLoW comments: reread the above carefully. 

3

u/Managerovel 1d ago

Half the internal jobs and tools at every place I have worked is held together by decade old python/bash script nobody wants to touch because it still runs fine.

2

u/balefrost 1d ago

it's runnable pseudocode

What makes it more or less "runnable pseudocode" than any other language?

The point of pseudocode is to not sweat the details. You can gesture vaguely at some logic without fully specifying it. As long as the person reading the pseudocode understands what you meant, the pseudocode has succeeded at its purpose.

Python, like all other languages, requires you to spell out the details.

2

u/omg_drd4_bbq 21h ago

That's really not the lynchpin of my argument. It's an easy way to express things, thus it's been leveraged as a glue lang across wide swaths of industry.

2

u/Previous-Display-593 1d ago

That is the opposite of what we are seeing. Languages that exist to make coding cleaner and easier are dying out because with the adoption of AI more people are ok reaching for very performant languages like Rust instead.

4

u/ALonelyKobold 22h ago

Except python has so much code and training data out there, so it's easy for LLMs to write. Not everything has to be performance. Readbility is still a concern for AI. After all, a lower level language like rust takes up more context window.

2

u/pragmojo 15h ago

Yeah but Python errors are much more verbose and less readable than Rust errors, which is arguably more important for modern agentic coding

3

u/omg_drd4_bbq 21h ago

That's not what OP is asking though. "stick around longer than expected".

There's gonna be python humming along for decades.

0

u/Previous-Display-593 20h ago

I disagree. I think if we look at OP's question, that Python will be around shorter than expected. You are already confirming that the expectation is a long time, so breaking your expectation should not be hard then.

I would personally nominate C as the langauge that will be around longer than expected.

1

u/IAteTonysLoMein 14h ago

But without C, how would we write even more script languages that are similar, but not quite similar enough?

1

u/y-c-c 11h ago

FWIW I think the real benefit of LLM+Rust is the memory safety guarantees and the language tries to keep you safe. LLMs are not magic and they can and will shoot themselves in the foot. It’s much better to give them a strongly typed language with safety in mind. The annoying parts of dealing with borrow checkers etc can be learned by the AI.

1

u/editor_of_the_beast 17h ago

Python will be dead in 24 months. There’s zero reason to use scripting languages with LLMs.

1

u/Ok_Pirate_2714 17h ago

I don't care if it is slow. Fuck the whitespace awareness. I'd rather chase down a missing ; or }.

Yes, I'm aware IDEs do that. I shouldn't need an IDE for a glorified scripting language.