Re:A Codebase That Makes Codebases
by RangerScience on Wednesday May 10, 2023 @12:07PM
(#35889384)
Have you ever looked into Rails generators? They’re meant to be run over the lifetime of the project, and many libraries (specifically thinking of Devise, since it’s a large feature) have “install me” generators.
[ Parent
| on HN ]
Re:A Codebase That Makes Codebases
by noworriesnate on Wednesday May 10, 2023 @02:26PM
(#35891345)
Interesting, thanks for the tip! I think what grandparent may have been referring to is if you run a generator with one set of arguments, make changes to the generated code, then you want to rerun the generator to regenerate the code with a different set of arguments.
For example if you have a generator that has an argument for which logging library to use, you might want to change the logging library later. Maybe a bad example.
I think this is where LLMs can thrive. Has anyone investigated using LLMs for resolving merge conflicts?