Unofficial Hacker News companion — get notified on comment replies, and more.

Why stop at Emacs? Native apps you or an AI reprogram in Clojure while they run (opens external site)

153 points by RiccardoSottini 5 days ago | github.com | 110 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (2)

  1. To me, it's the best dynamic language by far for scripting and serious apps alike. The lisp syntax is tough at first if you've never seen it, but once I got used to it, it was very readable (if using macros like ->).

    But I am still unsure whether a language like that is best for agentic programming. Without strict type checking, validating your software is up to how much testing you've added. Yes, it's cool that an agent can work with the REPL, but I am not sure that is helpful if the agent hallucinates and thinks the app works because it's testing the wrong function. And it's all immutable so it's easy for an LLM to test things in isolation, see a green checkmark, and think we're good.

    Could there be the right blend of REPL, Malli, and code linting? Idk.

    Replies (1)
    1. Great point - It can be a problem indeed, especially when trying to create/edit complex applications - The most important thing is not to compromise data, and introduce subtle bugs because of LLMs overconfidence. It would be cool to experiment whether a system of automated tests can be created on the go, while editing an application, so you are confident not to introduce any regression at any step!