3 ms·
Can this be used to refactor a codebase? Or is it meant to be used on just a single file?
by amelius 2y ago
Can this be used to refactor a codebase?
Or is it meant to be used on just a single file?
- lionkor 2y agoWhat's refactoring? Usually when we say refactoring we want to get from one state into another - like making code testable. Do you want AI to do this for you? Do you trust that it will do a good job?
- yawnxyz 2y agoI've done a ton of refactoring, from Python to Node / Deno, and it's surprisingly good — but not perfect. Having it create a testing suite definitely helps. But it makes fewer mistakes than I would normally make... it's not perfect but it IS way better than me.
- yawnxyz 2y agoLooks like this beta is single file, like a chat instance. They just added Github integration for enterprise, so that's probably on the horizon
- zamadatix 2y agoThe single file aspect of many of these answers is what grinds me as well. I mean, it's fantastic for a short script, a function/class template, or a crack at the syntax error... but it becomes a huuuuge pain even when it's something as simple as a .h for the file you're working on.