Lots of talk about new stuff, but what about old codebases? Anybody doing this?
For further actions, you may consider blocking this person and/or reporting abuse
Lots of talk about new stuff, but what about old codebases? Anybody doing this?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (3)
the first step is to ask AI to explain the project
in case you know the project, you can do some tricky questions in order to validate AI's knowledge, but if you don't, you can ask regular questions for you (and AI) to understand how it works
then, after that, one strong suggestion is to ask AI to create a .md file and write the overall explanation on it, then you can manage your future prompts to always refer to this doc before performing any change
then, finally, you can ask changes - I suggest starting with the small ones, but is up to you
another advice is to ask AI to always keep that .md up-to-date, by adding something like "and update the .md file if you found something new or you had a misunderstanding before" to your prompt
Carefully!
In theory it should be great for legacy coding — I don't think the models are great at this sort of stuff yet but I think it's a good use case.