Top Tips for Writing Code with AI
brettdidonato.substack.com
Top Tips for Writing Code with AI
1–7 of 7 posts
Re: Top Tips for Writing Code with AI
#2Re: Top Tips for Writing Code with AI
#3[flagged]
Re: Top Tips for Writing Code with AI
#4Re: Top Tips for Writing Code with AI
#5Solid, particularly the advice about context. I find with AI, less is better. Once you have "enough" context, adding more increases the risk of problems. The one I take exception with is the last. "You don't need to understand what the AI wrote". I feel you absolutely do need to understand what the AI wrote and if you don't you should not commit it.
Re: Top Tips for Writing Code with AI
#6Solid, particularly the advice about context. I find with AI, less is better. Once you have "enough" context, adding more increases the risk of problems. The one I take exception with is the last. "You don't need to understand what the AI wrote". I feel you absolutely do need to understand what the AI wrote and if you don't you should not commit it.
Thanks. I know the last one is controversial, but the way I am starting to think about it is that we are just moving to a new layer of abstraction. I no longer understand very well how hardware works, nor do I know in detail how a browser renders a page, nor the full fine details of how many of the libraries I use work. My own AI generated code, in pockets, is starting to work in the same way. And I'm starting to bec…
Re: Top Tips for Writing Code with AI
#7Earlier quoted context omitted.
Thanks. I know the last one is controversial, but the way I am starting to think about it is that we are just moving to a new layer of abstraction. I no longer understand very well how hardware works, nor do I know in detail how a browser renders a page, nor the full fine details of how many of the libraries I use work. My own AI generated code, in pockets, is starting to work in the same way. And I'm starting to bec…
The implementations for those abstractions are well tested (hopefully). Committing code that we don’t thoroughly test or have an understanding about is going to bite us sooner than later. They are landmines. Not abstractions.