> The better approach is to tell the AI “write a script to rename PersonRecord to Person, and then run that script.”
Cursor will do that conversion for you automatically via tool use (e.g. grep in this case).
This a great article though - I find being forced to write the requirements clearly and having an LLM review your final work, etc. can really help you to write better code in a sort of rubber duck debugging way too.
> The better approach is to tell the AI “write a script to rename PersonRecord to Person, and then run that script.”
Cursor will do that conversion for you automatically via tool use (e.g. grep in this case).
This a great article though - I find being forced to write the requirements clearly and having an LLM review your final work, etc. can really help you to write better code in a sort of rubber duck debugging way too.