Would an LLM, or a person solely coding using them, have had the insight to work out that immutability is the way to go, and we should revolutionize software develoment? If LLMs had happened 15 years ago, would all code still be "place oriented programming", with higher token counts and less reliability than we have today thanks to better practices we've learned in the recent past?
If so, what are we missing out on in the future, now that stopping and thinking about code is frowned upon?
Functional programming and immutable data structures are much older than Clojure
> If so, what are we missing out on in the future, now that stopping and thinking about code is frowned upon?
"We" here is vague. In truth, the vast majority of programmers just use whatever is most convenient at their place of work and do not participate in, nor care about, the advancement of the craft. That has always been true.
I imagine that, as we enter an age where many programmers don't even read code anymore, those people will largely stop caring about programming languages and paradigms entirely. But, a few will still have to. Similar to how most programmers nowadays don't think about allocation and memory management, but a few still have to.
And Rich didn't do what he did because he had to do it. He risked his own savings to go on this crusade, to make software development a happier place.
Who will take a risk like that in a world where no one writes code?
I actually just wrote about doing more clojure a few days ago
You're probably asking this rhetorically, but if you were seriously asking, this would be one of those riddle sentences like "This sentence is a lie." If somebody had an idea that they could articulate in natural language on this forum, the natural language would be something an LLM could process and turn into better code. Any true answer could make itself false.
What we'd miss out on if stopping and thinking about code was no longer a thing, would be ideas that stem from direct human experience. Language models relate words to words. There's a lot of power in that, way more than one would think, but they don't relate words to direct experience, except as described in other words. Innovation comes when humans express their direct experience in new natural language, that other humans can benefit from, and eventually language models benefit from.
Phrased differently: what would a language look like that’s optimized for LLMs?
Is anyone out there trying to find these wins?
Just look at how a system like LEAN allows LLMs to incrementally solve a problem. It absolutely wouldn’t get that far if it couldn’t rely on some type of compiler to verify things.
So yeah, a strong type system that allows lots of constraints to be expressed easily.
I think Haskell and Rust are much more “LLM-compatible” than Clojure.
And I say this as someone who has written Clojure full time for over half a decade.
There’s where my reading habits are right now. I guess well played?