CareerMay 22, 2026

Dead Programming Languages: What Not to Learn in 2026

If you are about to spend six months learning a new language, the question is not “what is popular?” — it is “what looks like a bad bet right now, and why?” This is the honest answer, with the data behind it. We will also push back against the lazy version of the question: some of the languages people call “dead” quietly still pay six figures.

What “dead” means here: not zero usage. Every language on this list still has people writing it. “Dead” means the LangPop composite has been flat or declining for years, new-project share is small relative to maintenance work, and the job market is concentrated in a narrow industry rather than spread across general hiring. It is a forward-looking judgement, not an obituary.

How to think about a “dead” language

There are three different questions hiding inside the word “dead,” and conflating them is how bad career advice gets made:

1. Should I learn it?

If you have no career commitment to a niche, you want a language where the next 5–10 years of jobs are growing, not shrinking.

2. Should I take a job in it?

Different answer. Niche languages with shrinking talent pools sometimes pay a premium. Specialists eat well; generalists in the same language struggle.

3. Will the code I wrote still run?

Almost always yes. Even Perl 5 from 1999 still runs. “Dead” rarely means broken; it means you are alone with the code.

This article is about question 1 — what to learn next. If you are already a Scala engineer with five years of experience and a strong network, the calculus is completely different. Stay there. The market for senior people in fading languages is often better than for juniors in growing ones.

Six languages that look like bad bets in 2026

Ordered by how clearly the signals point down, not by current rank.

Perl

LangPop rank: #17Avoid as a first language

Perl is the textbook case. In 2002 it was a top-3 language. In 2026 it is a maintenance language — and it is the clearest illustration of why “popular once” tells you nothing about “worth learning now.”

The decline is structural: the niches Perl owned — CGI scripting, sysadmin glue, text munging — were taken by Python (better readability), Bash + jq (lighter weight), and Go (single-binary deployment). CPAN is still the deepest module ecosystem of its era, but new modules slow every year. The Stack Overflow Developer Survey has shown Perl with one of the highest “dreaded” ratios for nearly a decade.

Where the conventional wisdom is wrong: “Perl is dead” is not quite true for senior sysadmins. There are still well-paid contracts maintaining legacy Perl at banks, telcos, and government — precisely because nobody else will touch it. If you already know Perl, that scarcity is real money. If you do not, it is not the door you want to walk through in 2026.

Haskell

LangPop rank: #18Learn for the ideas, not the jobs

Haskell is the language most likely to be defended by someone who has never been paid to write it. The ideas — pure functions, algebraic data types, lazy evaluation, the type system — are genuinely worth learning. They will make you a better TypeScript, Rust, or Scala programmer.

The job market is another story. Haskell roles cluster in three places: a small number of financial firms (Standard Chartered, Tsuru, some hedge funds), a handful of compiler/PL companies, and academia. Outside that, the postings disappear. Job postings in LangPop's pipeline rarely break the top 30 — and most of the demand is in cities where the cost of living eats the salary premium.

Where the conventional wisdom is wrong: people say “learning Haskell makes you a better programmer.” Half-true. Learning the concepts — purity, ADTs, the type system — makes you better. You can get most of that benefit from a strong typed language with a real job market (OCaml at Jane Street, F# in the .NET ecosystem, Rust more broadly). The marginal benefit of Haskell-specific fluency over those is small. Tourist the ideas; do not buy the house.

Scala

LangPop rank: #13Losing the JVM fight

Scala's decline is the most painful one on this list, because for a stretch in the mid-2010s it looked like the obvious answer for any team that wanted Java-grade tooling and a modern type system. Then Kotlin happened.

If a JVM team in 2026 wants a better Java, they reach for Kotlin first — it interops cleanly, compiles fast, has Google's Android backing, and ships pragmatic features without forcing a functional programming worldview on the team. Scala's job postings have flattened; Kotlin's have grown year over year. The big-data ecosystem (Spark, Kafka) that anchored Scala hiring has shifted to multi-language clients (Python, SQL, increasingly Go), so even Spark shops hire fewer Scala-first engineers than they did five years ago.

Scala 3 is genuinely impressive. The decision to rebuild the type system around given/using and to clean up the implicit story was the right one. It also came roughly five years late to change the trajectory. If you want a JVM language in 2026, learn Kotlin first.

Lua

LangPop rank: #16Fine as a second; bad as a first

Lua has the strangest career profile of any language on this list. It is everywhere — embedded in Roblox, World of Warcraft, Redis, Neovim, OpenResty, Wireshark, Adobe Lightroom — and yet you almost cannot find a job posting titled “Lua developer.” The reason is simple: Lua is glue. Companies hire game engine programmers (C++ primary, Lua secondary), or backend engineers (Go/Nginx primary, Lua secondary). The Lua skill is assumed, not advertised.

As a primary language to build a career on, this is brutal. As a secondary language picked up in two weeks once you are already employed as a C++ game dev or a Roblox creator, it is genuinely useful. The mistake is deciding to “learn Lua” first. You learn Lua because you have already committed to a host environment that uses it.

R

LangPop rank: #14Strong niche, shrinking general market

R lost the data-science fight to Python around 2017 and the gap has only widened. PyTorch, scikit-learn, Hugging Face, and the entire LLM tooling stack are Python-native. New data-science hires are expected to write Python first; R, if at all, is the thing the team's statistician uses in the corner. See our Python vs R deep dive for the long version.

R is genuinely the right tool in three niches: academic biostatistics (where the publication ecosystem is built around R packages), pharma regulatory submissions to the FDA (R is the de facto standard), and survey-method statistics in social science. If your career is in those niches, R is not optional. For everyone else doing “data work” in 2026, learn Python and stop debating it.

Julia

LangPop rank: #19Not dead — but bet carefully

Julia is on this list for the opposite reason from Perl. Perl is fading from a real peak. Julia has never crossed the mainstream gap despite a decade of trying. It is technically excellent for scientific computing — Python-like syntax with near-C performance, multiple dispatch, a first-class numerical stack. The community is small but smart. The job market is roughly Haskell-shaped: thin and concentrated.

Where this might change: if any one of (a) climate modelling, (b) computational pharmacology, or (c) the next generation of differentiable programming work decides Julia is the obvious choice, it could break out fast. That has not happened in the decade Julia has been waiting for it. Until it does, Julia is a side language to know if your domain rewards it — not a career anchor.

Three languages that look dead and quietly still pay

The lazy version of this article would stop at the first list. These three break the pattern — they look terrible on every popularity index and yet they generate real income for the people who know them.

COBOL

Not on LangPop · ~$100K+ contracts common

Most discussions of dead languages eventually drag out COBOL as a punchline. Then 2020 hit and US state unemployment systems started begging for COBOL engineers on national TV. An estimated 220 billion lines of COBOL is still in production in banking, insurance, and government — and the engineers who wrote it are retiring faster than the systems are being replaced.

Should a 25-year-old learn COBOL as a primary language? No — the work is rewarding only if you like mainframe culture. But the pay-per-skill ratio for the people who do show up is excellent and the work is recession-resistant.

Erlang

Not on LangPop top 20 · Powers WhatsApp, Discord, RabbitMQ

Erlang is the language most often confused with dead. WhatsApp scaled to 900 million users on a few dozen Erlang engineers. Discord ran their real-time messaging on Elixir (which compiles to the Erlang VM) past 11 million concurrent users. RabbitMQ runs significant fractions of the world's financial messaging on it.

The reason it looks dead is that nobody builds CRUDs in Erlang or Elixir. When it is the right tool — concurrent, fault-tolerant, soft real-time systems — it is dramatically the right tool. If your career interest is distributed systems, this is worth learning. Most engineers should not.

Fortran

Not on LangPop · HPC, climate, physics

Most climate models, much of computational fluid dynamics, and a substantial fraction of national-lab HPC code is Fortran. Not legacy Fortran being rewritten — Fortran being actively extended in 2026. The compilers are excellent, the numerical libraries have decades of validation, and rewriting them in “modern” languages keeps failing the cost-benefit test.

If your career path is scientific computing, climate science, or HPC, Fortran is unavoidable and will be for the rest of your working life. If it is not, you will never need it. There is no in-between — which is why it never shows up in general popularity indices.

The pattern: a language can have very low popularity and very high earnings potential at the same time, as long as it owns a specific niche that is not being displaced. COBOL owns mainframe maintenance. Erlang owns specific shapes of distributed systems. Fortran owns scientific compute. The languages on the first list above are different — they have niches, but those niches are being eroded by better-supported alternatives.

How to spot a fading language before LangPop catches up

Composite indices lag reality by 12–24 months. If you want to make this call for yourself on a language not covered above, here is the shortlist of signals that actually predict decline:

Job postings declining year over year

The single most reliable signal. Tutorial views and GitHub stars are lagging or noisy; job postings are real money. Three consecutive years of decline is a strong negative signal.

Flagship companies migrating off

When a language's most public users start talking about rewriting in something else — Twitter from Ruby to Scala (and later JVM/Go), LinkedIn off some Scala — the new engineering hires follow within two years.

Tooling and CI investment slowing

When the official toolchain takes years to ship a release, when CI providers drop support, when the popular package manager stops getting updates — the volunteers have moved on. The language is in maintenance even if no one says it.

Big LLMs write it badly

Newer signal but increasingly important. If the major models struggle with a language (small training data, niche idioms), the population of new developers willing to start with it shrinks fast. Our LLM-by-language breakdown covers this in more depth.

What this article is not saying

It is not saying any of these languages are bad. Haskell is one of the most beautiful pieces of programming language design in existence. Scala 3 is technically excellent. Perl is the reason a significant fraction of the early web worked. These are good languages. The question is about career return on time invested in 2026, which is a narrower and meaner question.

It is not saying you should not learn them. If you find Haskell interesting, learn it — your TypeScript will get better, your Rust will get better, your thinking will get sharper. Just do not expect a hiring market to materialise because you did.

It is not saying current jobs disappear. If you are a senior Scala engineer making good money at a fintech, the market for senior people in fading languages is often better than the market for juniors in rising ones, because the talent pipeline has dried up. The honest answer in that case is: stay, but watch what the next generation of new joiners are being hired for. That is your early warning system.

If you are choosing your next language right now

The boring answer is the right one: Python, TypeScript, Go, or Rust, picked to match the kind of work you want to do. All four have strong composite scores, rising job postings, healthy tooling investment, and LLM support that compounds the productivity advantage every quarter.

The languages on the list above are not poor choices because we dislike them. They are poor choices because there is now a clearly better option for the same problem — and learning the better option keeps optionality open for the next decade. That is the only thing a language pick really buys you.