4 ms·
> Blub Paradox") -- but other languages also have other superpowers (ecosystem/libraries) Indeed. The "blub paradox" is profoundly arrogant - it presumes not o
by pjc50 7y ago
> Blub Paradox") -- but other languages also have other superpowers (ecosystem/libraries)
Indeed. The "blub paradox" is profoundly arrogant - it presumes not only that people are too stupid to see the advantages of Lisp, but that Lisp advocates are smart enough to know that other languages have nothing unique to offer that Lisp doesn't.
- snazz 7y agoI think that Beating the Averages demonstrated that Lisp was PG's Blub, and maybe he wasn't using a language with strong static typing or logic programming or something like that for the same reasons that Java programmers wouldn't choose Lisp. I don't think that the fundamental flaw with that essay is the arrogance so much as the assumption that "language power" lies on a continuum in the first place.
- nojito 7y agoThere was nothing special about the language chosen for viaweb. It was more the ability to understand what their endusers wanted better than their competitors.
- snazz 7y agoIf their competitors were writing their applications in C++ or Perl, it probably would have made a noticeable difference to their iteration speed. Writing a web application in C++ (especially in 1995) would not have been too efficient. I'm sure that they had a good understanding of their customers, but the language had to have made a difference as well. These days, we're writing web apps in languages like JavaScript and Ruby, not C++, so the difference would be a lot less significant.
- nojito 7y agoKnowledge of the customer and programming ability is the most important driver of success. The idea that LISP was a secret sauce for viaweb does not hold up under scrutiny. If you have access to lexisnexis to lookup news articles from the era, it’s easy to see that.
- oalae5niMiel7qu 7y agoGoogle is known to write a lot of their web apps in Java, which is very similar to C++.
- bluefox 7y agoPlease reconsider your assumptions. PG has written two Lisp books in the nineties, one of them containing a Prolog interpreter. In fact, many Lisp programs utilize some form of logic programming. With regards to "strong static typing", types are but one way to think about things. Since Lisp affords powerful ways to shape the language, there is a culture of implementing and thinking about various paradigms, typing included. For example, the first Haskell implementation was written in Lisp, and there are other explorations of that particular paradigm. All programmers are blub programmers to some extent, but Lisp has the tools and the culture to fight it.
- snazz 7y agoI apologize that my tone came across as dismissive. Chapter 24 of my paper copy of On Lisp does contain a "sketch of [Prolog's] implementation". I can certainly see the value in Lisp and the culture of bottom-up programming (there's a reason I own a physical copy of the book). I shouldn't have brought up logic and statically-typed programming as specific examples; my point was more that it's misguided to consider the "power continuum" as one-dimensional, where languages lower on the continuum are "dumb" and languages higher on the continuum are "weird". As you said, a language with good types is not necessarily more or less powerful than a highly dynamic language.
- neutronicus 7y agoPG calls it a Paradox because no one (not even the Lisper) can know whether their language is Blub. You are right, though, that the Lisp community read the essay and internalized that all other languages are Blub. In my opinion this led them to collectively dismiss, for far too long, Dictionary Literals in every dynamic language which has eaten Lisp's lunch in the marketplace in the last two decades. Objections were raised ("you need homoiconicity for macros!") and everyone assumed they were valid and stuck with Common Lisp's woeful hash table interface and the loop macro keywords, insisting all the while "oh, that's a DSL, you could implement that with Macros"[0]. And then Clojure implemented Map literals and - what do you know - Clojure still has Lisp Macros! [0] Efforts in this direction thankfully forthcoming: https://github.com/inaimathi/clj https://github.com/inaimathi/clj
- metroholografix 7y agoThis is all surface, little substance. Map literals are 20 lines of Common Lisp [1], via the programmable in CL reader (that Clojure doesn't have). Richard Gabriel's "Worse is Better" is a lot more relevant about "Lisp in the marketplace" than anything you've mentioned here. [1] https://gist.github.com/rmoritz/1044553/b2d2d8e4b933cb0f6c3fb5ff3f9bcfae6be7ce47 https://gist.github.com/rmoritz/1044553/b2d2d8e4b933cb0f6c3f...
- kazinator 7y agoUnfortunately: - that code doesn't provide printing for hash tables. Oops! - breaks tooling: - doesn't provide editing or syntax highlighting support. - confuses any tool that reads all of the files of a project using the Lisp reader. - it gratuitously introduces a vector syntax that is unnecessary since #(1 2 3) is perfectly fine and standard across more than one Lisp dialect. - hard-codes the #'equal equality - doesn't play with the newer ways of registering Lisp read syntaxes, like https://github.com/melisgl/named-readtables https://github.com/melisgl/named-readtables
- flavio81 7y ago> and stuck with Common Lisp's woeful hash table interface and the loop macro keywords You are not stuck with anything in Common Lisp. Instead of loop you have lots of options, from the built-in constructs (do, dolist, map...) to very powerful libraries like SERIES and ITERATE. You are not stuck with the default hash table interface either. Many libraries for data structure are available, you just pick the one that suits you best. >And then Clojure implemented Map literals and - what do you know - Clojure still has Lisp Macros! Most of those Clojure features are already available in CL through the use of libraries. Even the ability to easily call Java libraries, by using the Armed Bear Common Lisp implementation.