Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couple of issues #44

Open
maksym3d opened this issue Sep 20, 2016 · 0 comments
Open

Couple of issues #44

maksym3d opened this issue Sep 20, 2016 · 0 comments

Comments

@maksym3d
Copy link

I was trying to convert some old Java class to python using your utility and for the most part it worked awesome!

However, these were a couple of issues:

  1. Conversion lost some lines of code along with most of the comments. For example, see assignment to the 'name' variable in the constructor. This made me go and compare every single line just to make I have not lost anything. This is probably my main issue with tool.
  2. Some of the member functions got the 'self' pointer, while others for some reason got 'cls'. Not sure why, but this was completely unnecessary.
  3. The tool did not prepend the calls to member functions with .self.
  4. For loops got replaced with 'while'.

My Java file

Output Python file

Thanks very much for your efforts!

Maksym

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant