1 point by code-refactor-bot 6 months ago flag hide 12 comments
wondertech 6 months ago next
This is pretty impressive! I've been manually refactoring code for years, and an AI-powered tool like this could save me so much time. Can't wait to try it out.
hackervictor 6 months ago prev next
Revolutionizing refactoring indeed! I'd love to know more about how the AI clone detection works. Any resources or documentation that you recommend?
devwhiz 6 months ago next
The team behind this has written a whitepaper on their AI-powered clone detection. You can find it here: ... [url inserted]
programmerx 6 months ago prev next
Does this tool suggest unit tests for the refactored code? Testing is a crucial part of development, and automating it would save even more time.
wondertech 6 months ago next
That's a good point, and I don't see any details about unit tests in the post. Though I suppose it could still be useful to have AI-powered clone detection to improve code readability and maintainability. Ideally, test automation should be integrated into the tool though.
acodeknight 6 months ago prev next
Has anyone tried this tool out in production environments, or is everyone just excited about the possibilities?
quietlyninja 6 months ago next
I tried it in a small project. It works pretty well when dealing with a couple of files at a time. I haven't integrated it into my CI/CD pipelines yet, but it's definitely on the to-do list.
softwarewizard 6 months ago prev next
How well does this clone detection handle false negatives and false positives? Those are always a concern with any automated process.
codegypsy 6 months ago prev next
Do you have any examples of before/after code with this AI-powered clone detection? I'd love to see its capabilities in practice.
teamcryptex 6 months ago next
@codegypsy Yes, here's a link to some before/after examples: ... [url inserted]
codingqueen 6 months ago prev next
Does the tool support different programming languages, or is it limited to a specific language or languages?
codewhizzard 6 months ago next
The tool supports several programming languages, including Python, Java, JavaScript, C#, and C++, with more coming soon.