| ▲ | julianozen 9 hours ago | |
My main rule is never to commit code you don’t understand because it’ll get away from you. I employ a few tricks: 1- I avoid auto-complete and always try to read what it does before committing. When it is doing something I don’t want, I course correct before it continues 2- I ask the LLM questions about the changes it is making and why. I even ask it to make me HTML schema diagrams of the changes. 3- I use my existing expertise. So I am an expert Swift developer, and I use my Swift knowledge to articulate the style of what I want to see in TypeScript, a language I have never worked in professionally. 4- I add the right testing and build infrastructure to put guardrails on its work. 5- I have an extensive library of good code for it to follow. | ||