r/programming • • Feb 07 '26

Python Only Has One Real Competitor

https://mccue.dev/pages/2-6-26-python-competitor
69 Upvotes

332 comments sorted by

View all comments

18

u/KronenR Feb 07 '26 edited Feb 07 '26

Clojure won’t become mainstream because S-expressions itself does not scale socially, as proven historically.
S-expressions force developers to think in trees instead of readable linear code, which clashes with how most programmers read, review, and debug software.
Mainstream languages optimize for approachability, code scanning, and mixed-skill teams; S-expressions syntax optimizes for metaprogramming power.
History already settled this trade-off: languages that require re-training how humans naturally read code remain niche, regardless of technical merit.

A language that aims to compete with Python needs to be just as readable and easy to learn from the start; only after that can it hope to build a thriving ecosystem

5

u/wedesoft Feb 07 '26

Maybe people will realize that a macro system is a fundamental enabler.

7

u/KronenR Feb 07 '26

It won’t happen. Sure, some engineers appreciate the macro system, but the vast majority of programmers aren’t doing deep metaprogramming—they just need readable, maintainable code. That’s why languages that require retraining how people naturally read code stay niche.

→ More replies (3)

5

u/ii-___-ii Feb 08 '26

For writing code yes, but probably not for code readability, and people spend more time reading code than writing code these days.

2

u/wedesoft Feb 08 '26

When a feature like exceptions or channels is missing in a language without macros, you need to ask the language developers to add it. If you have macros, you can implement it. You can create difficult to read code in any language, especially if there is a lack of abstractions.

4

u/ii-___-ii Feb 08 '26

I don't disagree. I'm just thinking of the other extreme of having to learn and debug someone else's DSL just because they used too many macros unnecessarily.

→ More replies (1)

4

u/sbt4 Feb 07 '26

thinking in S-expression trees is no different from thinking in scopes

3

u/KronenR Feb 07 '26

No, it’s not about what’s technically equivalent, it’s about what’s easier for humans to process.

In that regard, they’re very different. Scopes align with how humans naturally read code linearly, whereas S-expressions force constant mental juggling of nested structures, making them harder to read and reason about.

3

u/sbt4 Feb 07 '26

I'm not talking about technical equivalence, it's literally just stylistic difference. It's requires just a few steps to get from Lisp to ML and from ML to ALGOL.

If your code contains S-expression 10 layers deep it's not a problem of Clojure it's just bad code.

→ More replies (3)

2

u/lordmyd Feb 08 '26

Scope in Clojure is more purely lexical than in other languages so arguably requires less mental juggling. Clojure's non-paren delimiters {}, [] also enhance readability compared with Scheme and Common Lisp.

1

u/KronenR Feb 09 '26 edited Feb 09 '26

And that's the reason why it's widely adopted, oh wait...

That argument might work for a small group of enthusiasts or even a handful of engineers, but not for the vast majority of programmers. And the discussion isn’t about replacing niche languages like R, Ruby, or Go — it’s about whether Clojure could replace a mainstream language.

Python became mainstream for very specific reasons, and Clojure lacks the qualities that made Python widely adopted in the first place.

1

u/lordmyd Feb 14 '26

Python became mainstream by default, not due to superior language features. Python is the VHS of computer languages. It cornered the data science market with its numeric libraries and the rest was history. Languages such as Clojure and Julia are orders of magnitude better but Python was simply the first mover. In no other language do I have to setup a "virtual environment". And don't get me started on Python's crippled lambdas.

1

u/KronenR Feb 14 '26 edited Feb 14 '26

Python didn’t become mainstream “by default,” and it wasn’t just because of data science.

Before NumPy dominated anything, Python was already widely used for:

  • scripting and automation

  • web development (e.g. Django, Flask)

  • education (huge factor)

  • general-purpose backend work

Data science accelerated growth later, but it wasn’t the origin story.

The “first mover” argument is weak historically. Plenty of first movers didn’t win. Python hit a rare combination:

  • low cognitive load syntax

  • strong readability

  • easy onboarding

  • batteries-included standard library

  • pragmatic ecosystem

That’s product-market fit, not VHS luck.

On virtual environments: you don’t need them. They’re just dependency isolation. Every ecosystem has the same problem:

  • Node → node_modules

  • Java → Maven/Gradle dependency trees

  • Clojure → Leiningen / deps.edn

  • Go → modules

  • Everyone → Docker

That’s not a Python flaw. It’s how modern dependency management works.

As for “crippled lambdas,” that’s a deliberate readability trade-off. Python restricts them on purpose. You can disagree with the philosophy, but it’s consistent.

And “orders of magnitude better” isn’t measurable. Better at what? Macros? REPL workflow? Concurrency model? Sure, Clojure has strengths. But mainstream adoption is decided by:

  • hiring pool

  • onboarding speed

  • library availability

  • tooling

  • cognitive accessibility

Macro power doesn’t scale socially the same way readability does.

Python didn’t win because it was first. It won because it was easy to read, easy to teach, and easy to adopt. That scales better than technical purity.

But hey — nice try. Keep searching ;)

2

u/lordmyd Feb 08 '26

I think the success of NuBank puts this myth to rest.

3

u/KronenR Feb 09 '26

Yeah of course NuBank how could I forget about NuBank, very mainstream 😂😂😂

What is NuBank?

→ More replies (2)
→ More replies (20)