@gnat
So I code with ChatGpt/Claude.
First, it's not like ordinary coding.
If you expect to vibe code, you are going to have a very bad time.
Second. The more definitions you give the #AI, the better.
Give parameters what you want to expect.
Third, spec it. Give as much specifications as you can. You want that text window to scroll?
Propose an array or a list structure.
Leave as little to imagination as possible, the thing has very little of it and it will try to please you hard, it will make shit up.
Fourth. Give overall instructions. I usually say something along the lines of "Do not code unless clear instructions are given". Else the thing will launch into code at the first prompt.
Fifth, I used to get it to Pseudocode. Now I just usually say "Restate the problem". Just to make sure the machine understands what it's doing.
Checkpoint. When you have code that works, designated it as "Version X.1" because inevitably the machine will fuck it, esp if you're introducing a notable change.
Seventh, learn #promptengineering, most people have NFI how to use the #LLM esp. if they are naturally hostile towards the tech.
E.g. If I really want the model to pay attention, I will say something like: DIRECTIVE: Blah blah.
Lastly, this should go without saying, the free models suck, pay the broligarch tax for the smarter engine.
It helps if you understand a little how LLMs work, today for example I gave a prompt to just keep latest checkpoint and specs and flush everything else from the session context as it tied itself into knots
There are other tips.
#aiprogramming
P.S. If this is not your sport, just mute and move on, don't be rude