Hacker News new | ask | show | jobs
by Buttons840 45 days ago
What a weird take. At first I though you were going to predict a language with an even more featureful and strict type system.

We don't need the "boreness" and human usability of Go anymore. Fast compile times are still nice though.

Lisp syntax doesn't have much value in the age of AI I think. Lisp seems optimized to make it easy to parse, and also easy to hack on the interpreter. I don't think Lisp was ever meant to optimize human readability. The uniformity and minimalism of Lisp makes it easier to learn the syntax though. -- I don't know, maybe I underestimate the value and flexibility of Lisp syntax.

I think the most valuable features of programming languages now are human readability and type systems that give guarantees humans can rely on. Some of the most exciting code AI has written has been in Lean.

1 comments

the key impact of simple syntax is in metaprogramming.

secondary impact is structured editing, and maybe it's helping code reading by human brains.

> the key impact of simple syntax is in metaprogramming.

But does it actually have that impact? Being able to represent language constructs within the language doesn’t seem to have much to do with the textual syntax that humans use to input those constructs. Or perhaps you meant it in the sense that when introducing new constructs for humans to use (and not just generating code programmatically), it’s easier to make their syntax “blend in” with existing syntax if there isn’t much of the latter.

> and maybe it's helping code reading by human brains.

Empirically, I’m not convinced that it’s the case.

how much time have you spent with lisp?

IME, at least a weak of full-time dedication is needed, with a suitable editor and config, to start grasping this.

there's a large threshold on the way just to configure emacs and structured editing of lisp, in a powerful environment like slime. and only then comes the language itself.

nowadays it could be less, though, with tutorial videos and LLMs to set it up.

Metaprogramming with ASTs is the second worst way to do it after string manipulation.

Everyone should be using an IR like C# source generators. It's a lot faster to process, more stable and more intuitive because it maps closer to the language semantics instead of surface level syntax. And then you don't need a simple syntax at all.

metaprogrammin is not only about decorating code written by hand, but a lot more, e.g. introducing DSL's that integrate with the rest of the language.

anything that transforms the source code in a lossy way is an obstacle to that.