| ▲ | matsemann 7 hours ago | ||||||||||||||||||||||
What's the point of the rewrite if it doesn't fix the underlying issues, though? A rewrite being a good idea often hinges on the ability to simplify. After a decade or more, it's now apparent what the application should and shouldn't do, so one can build it with those learnings and shed all tech debt from how it grew organically. Aka preserving all behavior is not what I would want from a rewrite. The point would be to make decisions on what behavior should be kept and what complexity can be removed. An AI can't do that. It can help with execution if the decisions are made, but they're made by being very intimate with the codebase and floating all cases and then talking with stakeholders. | |||||||||||||||||||||||
| ▲ | Semaphor 7 hours ago | parent | next [-] | ||||||||||||||||||||||
I work on a codebase from the early 2000s, a lot of it using webforms, a long abandoned .NET technology. A rewrite preserving all behavior and making no observable changes whatsoever would be amazing. But it’s also tested exactly as well as you’d expect from something like that so I’d rather not let AI go wild. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | a96 7 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
One obvious target might be rewriting from an unsupported, broken, and/or obsolete target to something that still works. Or moving a project from a platform that no other system in the company uses to the same setup that all the others use. Of course it won't quite work, but I can definitely see why some people would want that. | |||||||||||||||||||||||
| ▲ | nomel 7 hours ago | parent | prev [-] | ||||||||||||||||||||||
Say I rewrite a large codebase from python to C++, preserving all behavior. That's up to a 50x speed up. | |||||||||||||||||||||||
| |||||||||||||||||||||||