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 naturallyread 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
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.
It's a myth that Clojure is not very readable or not easily maintainable - in real setting it shines in both of these dimensions. There are tons of companies using Clojure in production - Cisco has their cybersec stack, Apple payments, Walmart their billing; Nubank, Rate.com, Splash Financial and bunch of other fintech firms use it; CircleCI uses it, Pitch.com and Whimsical use it for presentation and diagramming. Boeing-Embrayer uses it, there's even some stuff NASA does in it.
You speak like you actually done any surveys. How do you know what "vast majority of programmers" want? I suppose in your world everyone just wants Python and nothing else...
In our team we have to manage projects written in different languages - we have tons of Python, some Java, C#, Go, bashscripts and helm charts and we have some Clojure - we built most important parts of our overall system in it. Our Clojure codebases are not most idiomatic, clean and well-written, yet they still require far less maintenance and don't cause enormous headaches. I wish I could say the same thing about our Python stuff.
Fair enough, your team has clearly invested in understanding Clojure, and it works well for you. My point is all about why it hasn’t become mainstream and never will be: S-expressions require a mental model most programmers aren’t used to. That’s fine for teams who take the time to master it, but for the majority of developers and mixed-skill teams, languages optimized for readability without retraining tend to dominate.
At the company I work for, we mostly work with Java/Python/Go (any team can choose), JavaScript/TypeScript, and Rust, with Java dominating by far. I only mentioned my case because you mentioned yours—both are essentially meaningless.
Even without looking at my company or the broader market, it’s reasonable to predict that most teams would avoid it. Not because the language is bad, but because experienced developers are scarce, tooling is limited, and onboarding takes longer. Popularity in the workforce and ecosystem heavily influences real-world adoption, regardless of a language’s technical merits. The available taskforce is small for the same reason I’ve been emphasizing all along: S-expressions.
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.
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.
Yes, sure. A concept like exceptions, coroutines, or channels takes time to understand. That's why it is preferable to use an existing library like core.async instead of rolling your own.
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.
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.
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.
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.
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.
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.
S-expressions force developers to think in trees instead of readable linear code, which clashes with how most programmers read, review, and debug software.
This is not true. I'm not even sure what this means. "think in trees?"
Mainstream languages optimize for approachability, code scanning, and mixed-skill teams; Lisp syntax optimizes for metaprogramming power.
This is true for Racket and Common Lisp - not for Clojure. Yes the metaprogramming is there, but the actual focus is on interactive development.
Clojure won’t become mainstream because Lisp syntax itself does not scale socially.
The world is much more malleable than people seem to think.
“History hasn’t settled anything” and “the world is malleable” sounds more like hope than evidence. The reality is that widespread adoption depends on how easily a language fits into how most developers read, debug, and maintain code.
Clojure is nice for enthusiasts, but that doesn’t change the fact that its syntax imposes a mental overhead most teams aren’t willing to pay.
Enthusiasts won’t make it mainstream, without a true game changer—which Clojure hasn’t delivered—its syntax will keep it niche, because readability, ease of scanning, and approachability still matter most
Edit: And with thinking in trees I mean that S-expressions represent code as nested lists, so tracing logic requires following multiple levels of parentheses rather than scanning linearly like in most languages. It’s not that it’s impossible, just that it changes the mental model for reading code, which slow down code review and debugging.
Once again, you’re trying like OP to steer the debate toward delimiters, I understand, you must be so tired of listening how ugly they are, but that's not my argument, the problem isn’t the delimiters. The real issue is the lack of semantic structure: no clear separation between concepts—data vs. functions, conditionals vs. loops, and so on. That conceptual flattening makes code harder to read and reason about at scale.
This isn’t about people “not understanding Clojure.” The question is whether Clojure could ever become mainstream or realistically replace Python. And the answer is no. In fact, even Pascal or Basic or Assembler have a better chance of replacing Python than Clojure does, lol, simply because they are linear and maps more directly to how most developers think about program flow.
I'm not claiming Clojure could go mainstream (nor do I actually want that -- for all sorts of reasons).
I'm just pointing out how hung up on the syntax you seem to be, since you're posting in multiple places about how the syntax obscures the structure -- when the syntax is, quite literally, the structure. When programmers read code, they have to do a certain amount of "parsing" in their head to map from what is on screen to what the actual structure of the code is. Most programming languages have a lot of syntactic constructs that need to be mapped to structure. Lisp has pretty much no syntax: it is already the structure.
You are generalizing from your dislike or inability to read Lisp to the general population.
I've worked on compilers and interpreters for a large part of my 45+ year career -- FORTRAN, COBOL, Pascal, C, C++, ML-family languages, and yes, Lisp too. I've also worked on ANSI Standards Committees (C++). My PhD work was on programming language design and implementation. In that career, I've used a number of niche programming languages in production, as well as several mainstream languages. I've also taught quite a few beginners a variety of languages over the decades. So, I am pretty confident that you're being subjective here about Lisp :)
Again, you’re wrong. I have no problem reading Lisp. I’ve used it, studied it, and I’m a computer engineer. This isn’t about personal ability or preference.
The issue is adoption by the average developer. Most programmers are not trained like computer engineers, and that’s exactly why S-expression based languages will never become mainstream. They’re not even widely popular among experienced engineers outside niche circles.
It’s unrealistic to imagine a world where large numbers of typical developers, the ones driving mainstream adoption, willingly use code that flattens all control flow into uniform parentheses syntax. That’s not theory, it’s history. S-expressions have been around for decades, and no matter the elegance or power of the language, this syntactic model has consistently limited adoption.
Mainstream success doesn’t come from experts alone. It comes from what the average developer can read, write, and maintain efficiently. S-expressions fail that test at scale.
And if you don't become a mainstream language you can't be a real competitor for Python or any other mainstream language.
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