News for hackers. Stuff that matters.
Re:Rama is a testament to the power of Clojure by fiddlerwoaroof on Tuesday April 30, 2024 @08:01PM (#40217975)
This is one of those perpetual myths about macros. Ruby on Rails metaprogramming is often harder to debug than macros in Common Lisp. Flink and Spark work by generating and loading Java code at runtime (macros) but, since Java has no language-level support for macros, the generated code is very hard to inspect and debug.

What killed most lisps was the AI Winter and the concurrent drying up of DARPA funding.

Re:Rama is a testament to the power of Clojure by epolanski on Tuesday April 30, 2024 @09:11PM (#40218437)
I don't think I've expressed myself well.

When I say software at scale I mean:

- going on GitHub opening a file and understanding what's happening

- reviewing a PR and figuring out stuff without requiring an ide

- having easy onboarding with devs already accustomed to a base language and its patterns

Java, C, TypeScript, Scala, Kotlin, etc. Pretty much all major languages offer this: less power but much less ambiguity and mental overhead.

Lisps (with a minor exception for clojure) and Haskell are just not those languages.

Which, again, is why all of those languages produced very little software worth of mentioning for decades.

Re:Rama is a testament to the power of Clojure by fiddlerwoaroof on Tuesday April 30, 2024 @09:17PM (#40218462)
And this is just not true: I’ve worked on large lisp programs in various situations with minimal documentation and done just fine.
Re:Rama is a testament to the power of Clojure by epolanski on Wednesday May 01, 2024 @10:10AM (#40223479)
That's not a strong argument.

That's like saying world hunger does not exist because you had lasagna for dinner.

Re:Rama is a testament to the power of Clojure by fiddlerwoaroof on Wednesday May 01, 2024 @02:53PM (#40227639)
How about the existence of major pieces of software written in Common Lisp? For example, American Express fraud detection was and maybe still is done by a CL program. Google Flights uses ITA Software’s CL flight search system. Emacs is widely used and contains a lot of lisp.

I think basically no languages have failed or succeeded for technical reasons: generally, marketing and inertia explains the tech stack better than DX or theoretical superiority.

Re:Rama is a testament to the power of Clojure by jimbokun on Wednesday May 01, 2024 @12:09AM (#40219416)
Scala???

The language that never met an abstraction it didn’t immediately incorporate into itself?

Re:Rama is a testament to the power of Clojure by fulafel on Wednesday May 01, 2024 @01:54AM (#40219972)
There's a place for languages that are the COBOL of their niche, yes. Depending on how you look at it, they are DSLs too.

Javascript in the browser is actually an interesting case here. (And after Javascript spralwed out... ClojureScript is the nicest way to write React apps)

Re:Rama is a testament to the power of Clojure by tome on Wednesday May 01, 2024 @05:59AM (#40221301)
That's interesting, because to hit all those points I'd prefer Haskell! I've never found another language where it's so easy to jump into an unfamiliar codebase, or to come back to code I wrote years ago and get started again immediately. By contrast, I don't think I could read idiomatic Java without requiring an IDE to help me navigate.
Re:Rama is a testament to the power of Clojure by kazinator on Wednesday May 01, 2024 @07:39PM (#40230977)
Of all things, did you just lob an accusation of ambiguity at Lisp?