3 ms·
Ask HN: ChatGPT being too lazy, how would you convert Python to Java?
I have a large codebase in python, i need to rewrite it in Java.
The problem isn't how to do the work, i know both Python and Java, the problem is to actually do the boring work.
I thought i could use ChatGPT to do the heavy lifting as there's thousands of lines of code.
All i can get out of it is a few lines of code, and most of the acual code, logic, etc is converted to this:
// Further processing...
// Additional methods like load, compute, etc.
// Define parameters needed
// Other fields and methods...
// Other fields follow the same pattern
// Continue with other fields
// Other fields...
// Methods like isHigh(), addEvent() need to be implemented based on logic
- throwitaway222 3y agoIf it can wait a few years, this will probably be possible...
- deleted 3y ago[deleted]
- catlover76 3y ago[dead]