Using the LLM to code

← Go Back

Using LLM as a co-architect to write HTML, CSS & JS

Can it really code?

It will sometimes help, sometimes hurt. YOU are the coder. When prompted properly, it will:

It will also hurt, if you aren't careful, it will:

So I'm saying that it does it really right and really wrong at the same time? Yes! It's not a coder, it's an assistant that needs supervision. Someone on Reddit asked, "I don't know how to code; which LLM will build me an app with just my telling it what it needs to do?" Answer: none; you cannot use the LLM to code if you don't already have some sense of how coding works.

What I learned the hard way (Best Practices)

On other pages, I use sample prompts to show how context works. That’s harder here. Following is a list of best practices. I don't think there's a real way to avoid profanity while coding, even with the LLM. I hope these tips minimize your frustration. If you have others, please contact me and share!