You would be surprised on how big corporations are running on not so elegant code and generating revenue all over.
I used to be more principled around code best practices and having things well written, but with the LLMs I just discovered that unless your in a very critical domain where performance or maintenability is a hard requirement, the LLMs with bad code just solve the problem and everyone can be happy.
I like elegant code, well written and easy to maintain; but for a long time the field of programming started to develop the pristine idea that the programming _was the end_ and not as a way to achieve something.
What’s the post author made was to bring it in a more latent way saying that you could use programming to achieve the same results but you do not need.
The code generated is very hard to be maintained by human unless you're very knowledgeable and knows what specific things to change (since generally we only interact on framework level unless there's some specific requirements, like how the author proposed to "modify the prompt" instead of the generated code)
That said, I don't think that the so called "prompt based" cough cough engineering is viable at current state, or anytime soon.
Would be a huge nuisance to maintain.
Is the code bad? Sure.
Could I build this in 10 hours without an LLM having no experience with cloudflare workers and typescript? Probably not.
Could I build this in 10 hours with an LLM? Probably.
Whatever happened to "write code like it'll be maintained by an axe murderer?"[0]
Personally, I don't think the GUI's yet been invented which can reliably wrangle LLMs to those ends.