this post was submitted on 12 Jul 2026
35 points (97.3% liked)

Programming

27767 readers
270 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] skorn@ani.social 13 points 1 week ago (2 children)

I always find Lisp a bit mind bending and feel like I will be a better programmer once I master it. But it also feels like wood carving, and most of the time I just need to slap some planks together for a bookcase, and don't have the time to scrimshaw it into a beautiful work of art. I'm not seeing here how Lisp is differentiated from an agent with a code sandbox and python, unless we're operating that agent inside of Emacs... That's where the code and the data are swimming together. I don't think there isn't a difference, it's more a matter of my not getting it, if anyone is able to help me understand it'd be appreciated

[–] Supercrunchy@programming.dev 8 points 1 week ago (1 children)

You can implement an agent loop in any language, and modern languages can do everything that lisp can, so there's nothing magic in lisp. At the end of the day lisp is just another weakly typed functional/procedural language.

Personally I didn't find lisp that much elegant due to the loose typechecking and the excessive parentheses, but the macro system allows some very terse and smart (and mind-bending, as you said) solutions, which do feel pretty cool when they work fine.

IMHO it'd be probably better to give your agent access to a python interpreter because it's much more prevalent in the training data than lisp...

[–] Baizey@feddit.dk 1 points 6 days ago

tbf high prevalence is a double edged sword, it also means it's trained on a lot of poorly written code which it will slide into

[–] ghodawalaaman@programming.dev 4 points 1 week ago (1 children)

I feel the same! also there is evalin javascript or any other scripting language. why use Lisp specifically?

[–] Supercrunchy@programming.dev 2 points 1 week ago (1 children)

I self-learned lisp last year using the old SICP book, but I do consider myself a fairly expert programmer, and I felt that book was a bit hard at the end of it.

IMHO the key difference of lisp's eval wrt python's eval is that it takes in input a parsed expression (a lisp list) and not a string. In lisp though you don't have to use eval much, because the macros allow you to transform the expressions from your programs directly (take in input parsed code, return a different code structure to be executed). The quote and quasiquote functions are there to make that easy!

I don't know javascript enough, but in python you'd have to use eval and use some kind of parsing package crazyness if you wanted to implement a similar macro system!

[–] AnarchistArtificer@slrpnk.net 3 points 6 days ago

As a scientist who has ended up gradually becoming more of a programmer, I battled through the SICP after seeing the cult following it has. It's a weird, but good book, and I couldn't imagine a book like that using anything other than Lisp