Ask HN: ChatGPT being too lazy, how would you convert Python to Java?

1 points by guybedo ↗ HN
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

3 comments

[ 10.3 ms ] story [ 18.0 ms ] thread
If it can wait a few years, this will probably be possible...
(comment deleted)