3 ms·
I fear it will be a quantity issue more than a quality one. Why refactor some code to make it extensible, when AI can write a whole new module from scratch? D
by patrickthebold 2y ago
I fear it will be a quantity issue more than a quality one.
Why refactor some code to make it extensible, when AI can write a whole new module from scratch?
Don't understand the 10 AI written classes? Leave them be and have AI write some more.
Once we get AI code deletion and refactoring I guess it will be ok, but generative models are a problem because code is a liability.
- AnimalMuppet 2y ago> generative models are a problem because code is a liability. I wish I could upvote this many times. This is a major, major problem. AI may get your version 1 out the door faster. But when you try to modify it to create version 2... But someone may ask, "How is this different from any other machine-generated code?" It's different because those tools were built very carefully to generate correct code, and the generated code usually did not have to be modified after it was generated. But when a generative AI is writing the bulk of your application code, neither of those conditions is true.
- thomashop 2y agoI spend most of my time with AI assistants simplifying complex code other humans, including me, have written. They have made me much more efficient at refactoring spaghetti code and removing unnecessary complexity. It all depends on how you use them. They can be a cause but also a solution to a problem that affects human codebases too.