Videos
Is the Java to Python converter free?
Can I also convert Python back to Java?
What types of Java code can be converted to Python?
i've been coding in java for a long time now, including DSA. but now for some reason i have to switch to python for a particular test. how do i go about it?
Hi.
Basically I am not that interested in Java.
However, I need to understand algorithms, not just solve them.I read books, watched some things online, and even if i can explain some algorithm I can't code it.
I even had difficulties making a linked list in C.
I also lack the OOP understanding. I can read about it, solve quizzes but that is the thing i get most tripped about in Python.
Maybe it just my impatience as I found out I haven't exactly watched tutorials as I cant wait to get into it myself.
Maybe I should just bite the bullet and learn it exclusively for Sedgewicks algorithms.
To be honest i really like Python and see a future with it. Other languages aside from C have mostly been a derail and then I crawl back to Python and spend the next few weeks getting pythonic.
That's the thing, most other languages are idiomatic, but Python is pythonic. Maybe I've spoiled myself, trying to code in english?
I really want to understand classes and i heard Java is great for it too.
The only thing that puts me away is the syntax and the extreme opinion of the JVM, I don't want to spend a month relearning Python again.
To be honest at this point I would be really happy if someone said they followed Sedgewick just with python code from github or that the knowledge is transferable when watching lectures.
I tried with MIT and Standfords Roughgarden but it is very theoretical and at times very mathematical and far removed from code.
I get it i really do, that is what algorithms are. But for now I don't have the luxury of learning mathematics and relearning induction.
https://cs50.harvard.edu/ai/2023/
My goal for now is to be able to this and do it well and actually understand how it works.
Β» pip install java2python
What helped you get comfortable with Python's style and ecosystem? Any pitfalls or tips you'd share with someone making the same transition?