by ChrisMarshallNY · 5mo ago · 0 comments
In my experience, it's a mixed bag. I wrote this comment[0], yesterday. It reflects my current work, and how I am integrating an LLM.
I have used it for two parts of my project:
1) The backend (PHP), and
2) The frontend (Swift)
It has been a huge help, in both, but #2 is a cautionary tale. It really needs adult supervision, in developing native UIKit Swift apps. I'm realizing how truly bad the code it wrote was. I mean, terrible.
That's jarring, because it did a great job with #1. It made sound, reasonable design decisions, and provided code that is better than what I would write.
With #2, it behaved exactly like an inexperienced engineer, panicking, when confronted with real-world problems. My rewrite is going to feature a much simpler, sound approach.
All that said, it has been a net positive, and has increased my productivity by a large margin.
I guess the lesson I needed to get from this, is that it is good at helping me to find problems, but maybe not so good at fixing them.
It saddens me to see that high quality content is drowned in this sea of garbage to the point of being almost impossible to find.
Then you go on to search for something, and find only results that are clearly AI generated pages and come to the conclusion that directly prompting some LLM is better than reading an AI slop page that's output by the same AI for slightly less specific prompt.
My concern is that this will only get worse over time - which is great for companies selling AI tokens and bad for society and whoever wants to interact with other humans over the internet.
Swift, not so much. It's relatively new. Looking at AI's abilities like an engineer's career span scaled about 10-20x of time makes it make a bit more sense.
It's going to be worse at newer/niche things, intuitively - which is only going to get worse as it "learns" from garbage outputted by other LLMs moving forward.
You seem to assume that autoregressive pretraining (and unfiltered behavior cloning, maybe) are the only ways to improve LLM performance.
I haven't really used LLMs much for coding (sabbatical before LLMs got good at coding, now looking for work) but I found with chats that they are great at exploring well trodden territory but as soon as you go a little bit off the beaten path they flail horribly
I'm unlikely to run into many of the problems that (for example) the PornHub developers hit, several times an hour.
In that case, I benefit from folks like you, that allow me to have solutions that scale down to my level.
I suspect that the LLM training got much more from the react community, than Swift.
That's fine, for a lot of corporate applications, but not for the stuff I write. I'm anal, I know, but that's how I roll.
But I've seen Claude write crazy code in Python and JavaScript, too
PHP has huge, entire frameworks and systems, refined over years.
That's one of the things that I appreciate about the PHP that the LLM provides. It uses modern idioms that make better use of the modern language.
The classic AI Gell-Mann effect.
The diagnosis, however, is not.
Have a great day!