3 ms·
It's still possible to script out codegen. Frequently use Python to generate code like that. Really I'd rather have AI generate a codegen script that determini
by nijave 9mo ago
It's still possible to script out codegen. Frequently use Python to generate code like that.
Really I'd rather have AI generate a codegen script that deterministically does the struct from schema generation
I've had enough instances where it's slid in a subtle change like adding "ing" to a field name to not fully trust it
- krackers 9mo agoYup, it feels weird to use LLMs to perform large scale refactors, but LLMs to meta-codegen which you then use to do the refactor works really well. The quality of the generated tool itself doesn't matter so long as it's deterministic and you can reasonably see what it's doing. It the same vein it works nicely for random one-off parsers (either DSL parsing or abstractly as screen scraping): nothing you'd be robustly confident in, but good for throwaway parsing.