jksmith 2 days ago

"An elegant weapon, for a more civilized age." Heavy opinion: Combined with AI, there is a story for unified app development. Something like Ada for the L1 and trust reciprocation, then something that creates app domain vocabularies for L2 development. That of course would be lisp.

  • lispitillo a day ago

    Sorry, but I don't get the meaning of your phrasing. I think that to use AI you must be very explicit and clear about what you want to design, and if Lisp provides some advantages one should define accurately the specific tool to use and when, how, and why.

    I recall Norvig mentioning that other computer languages have taken many ideas from Lisp, those languages are also in the new civilization. Just to give an example: destructing-bind, apply and others are now done in javascript with a shorter syntax, and javascript without macros has excellent speed.

    • Jtsummers a day ago

      The quoted portion is a reference to an XKCD strip from earlier this century, https://xkcd.com/297/, which is a reference to Star Wars.

      Their use of L1 and L2 should be read as "L" as "level" L1 is lower level, L2 is higher level. They're suggesting using Ada (or some other well-suited language) for the lower level trusted systems language and Lisp for the application language.

      What it has to do with AI, I don't know. People want AI everywhere now.

      • jksmith 10 hours ago

        Exactly. So let's expand. A good reason to have AI everywhere is that it is capable of giving you a fair answer for just about anything. So ask it to do some data analytics stuff, like what Tableau or PowerBI can do. It can provide maybe 60% of the same functionality that most users require (provided data access, blah blah). Ask it do patient pre-triage. It will get you within 60% of a ballpark answer. Ask it to diagnose a car problem, or a crop rotation plan. Once again, it get's you in the ballpark. So what I'm suggesting is, the current state of the art has no Dunbar limitation and no bias toward any particular domain. It's like a 10k person team that doesn't care what it's solutioning (L1). Generalize the L1 to provide high assurance foundational functionality (workflows, custom workitems, some general way and tools to get from a strategic opinion to an executable fact).

        People are still limited by Dunbar's number, so they need domain specific vocabularies to help them describe solutions to smaller groups. Maybe a direction exploitable by lisp at the L2 level.

        But with an AI native L1, it doesn't care about the domain but would need to hold up the whole organization. Ada assurance. So it produces a 60% solution that has to be consumable by any particular L2. Multiple enterprise apps with a common base layer. No need to provide connectors or bridging apps for separate ERP, SCM, BI, HR vendors. Complete line of site, real time analytics and real time budget adjustments, eliminating need for budget cycles. It's kind of the Deus Ex God app. Deprecates need for separate Salesforce, Oracle Fusion, Tableau apps, separate vendor expenses, etc.

lispitillo a day ago

Perhaps instead of coding many small one day projects one could program one day projects that compose with each other. For example, I was thinking about developing a library that implements a version of J in Common Lisp (but I think fuel is lacking) so that, for example, the one day project named random-sample could be just:

  randomSample =: 4 :'(x ? #y){y' NB. can't repeat.

  randomSample =: 4 :'(? x # #y){y' can repeat.

 So that, in many cases,  one day projects could be reduced to one or two lines definitions (for those that know J that is the caveat).
  • monospacegames a day ago

    I think they're showcasing existing projects instead of making a new one each day.

    • lispitillo a day ago

      Thanks, it seems you are right. The random-sample project seems so short that I thought it was a one day project and that the other would be also short projects.

z_open 2 days ago

[flagged]

  • dimitar 2 days ago

    Can you give an example? I can't speak for all possible lisps but Common Lisp and clojure have great string built-ins:

    https://lispcookbook.github.io/cl-cookbook/strings.html

    https://clojuredocs.org/clojure.string

    • z_open 2 days ago

      printf("x = %6d\ny = %.8E\n", x, y) ;

      What's the equivalent lisp?

      • mrcode007 2 days ago

        (format t "x = ~6d~%y = ~.8E~%" x y)

      • rscho a day ago

        You seriously thought that lisps had no printf equivalent ?!

        • Jtsummers a day ago

          People still think that Lisps only offer lists for data structures, which hasn't been true since at least 1960.

      • zck a day ago

        Someone else has given you the Common Lisp version. Here's one for Clojure:

          (printf "x = %6d\ny = %.8E\n" x y)
        
        If I've understood everything right, and your example is in C, the format string in Clojure is identical to the one in your comment.
  • rootnod3 2 days ago

    I am 99% percent sure that for most of your use-cases Common Lisp has a way to do it and/or is flexible enough to change the language so that it is possible. You are talking about one of THE most malleable languages to exist. Literally a programmable programming language.

  • assimpleaspossi a day ago

    Are you aware that this very site is programmed in Lisp?

    • iLemming a day ago

      I can't hit reply on the top level comment anymore (it's flagged and now is 'dead'). I just wanted to say that is a text-book example case of how to tell the world "I am a dilettante in my field".

      Experienced pros usually recognize when they don't know something well enough to critique it meaningfully. The harshest critics often have the least hands-on experience - while people who've actually built substantial systems in various technologies tend to be more measured in their assessments.

      You can sense all of the psychological patterns in that paragraph - frustration displacement, confirmation bias, cognitive shortcuts, social signaling, Dunning-Kruger effect, etc.

      I guess it's quite normal, if I start reflecting on my own history of comments on HN, Reddit and other forums, perhaps I will find a few examples from my own past of knee-jerk reactions such that comment.

      We all have technologies we've formed opinions about based on limited exposure, early bad experiences, or just cultural osmosis. I bet if any of us looked back, they'd find comments where they'd be responding more to the reputation of a technology or the perceived attitudes of its community rather than deep technical experience.

      The key difference is usually how the criticism is framed. Compare:

      - "Lisp is impractical for real work" (broad dismissal)

      - "I struggled with Lisp's syntax when I tried it briefly" (personal experience)

      - "I haven't used Lisp much, but I'm curious how you handle XYZ" (honest engagement)

      Forums like HN reward quick, confident takes over nuanced "it depends" responses. The incentive structure almost encourages this behavior, even from people who know better in calmer moments. As we gain experience, we often become more aware of what we don't know and more cautious about sweeping statements.