Comment by Ygg2

22 days ago

That's kinda the problem of Lisp curse. You have several hundred slightly incompatible dialects instead of a one good language.

It's akin to how Linux isn't a OS but a family of OS with same core.

In practice, it is exactly the opposite of a "curse". From many practical points of view, when you actually use it, it feels and behaves like "one good language". You probably have little idea how jaw-dropping it feels when you write the same piece of logic in Clojurescript, and it seamlessly runs on both JVM and Javascript - completely incompatible platforms. I have not seen this kind of code-reuse even with Node, where the runtime is basically the same on both sides, but you still have to write code for them separately.

And you haven't even seen the Clojure<->C++ interop in Jank. Anyone who has even the slightest clue of what's up says this is some kind of blackmagicfuckery.

I mostly don't use Lisp for work; we have some Clojure services, but they rarely require any attention - mostly when we need to bump dependencies. But I use a Lisp for personal stuff and I switch between different dialects multiple times a day - Elisp, Babashka, nbb, Fennel, Jolt, Jank - and the overhead is virtually none. I can't say the same thing about switching between JS/TS, even though I have used them for far longer than any Lisp.

  • Your entire rave sounds like exactly like a NixOS heavy user ranting about the greatness of flakes and immutability.

    And I am left wondering if it is that great why didn't it take over. I think you are ignoring some minor things that make it unpalatable for the most programmers.

    • Fair, enthusiasm isn't evidence. But adoption isn't either. Javascript took over because browsers shipped it. Python took over through universities and numpy. Neither won a contest on language design.

      Your comment to me sounds ironic because I don't even use Nix. I manage all my dotfiles in a single org-mode file and tangle them from there. It takes a few minutes to bootstrap a machine from scratch and makes my systems semi-immutable.

      Comparison with nix on the surface sounds fair. Nix has steep learning curve, but most users once learn it, stay in it. Same can be said about Lispers - I have never met a person who wholeheartedly dove into e.g., Clojure and ever said it's [widely] impractical. There's unavoidable pain of getting into both, but the difference is where the pain sits. With Nix, much of it sits in the language and tooling: an untyped, lazy language with cryptic errors. With Lisp, the language is the simple part, and the cost is unfamiliarity and the ecosystem. Lisp's core is small enough to explain on a napkin, Nix's isn't.

      > ignoring some minor things

      I am not ignoring them, I speak from my heart. I know first hand how pretty much every mainstream popular stack lies to you about its own complexity. Neither Python nor Javascript are simple, small language ecosystems and I say that with full confidence after decades of using them. There's a real, practical wisdom of Rich Hickey's "simple vs easy" distinction and majority of programmers either don't know, don't understand, or don't care.

      2 replies →