Programming in Python vs. programming in Java
Programming in Python vs. programming in Java
You might consider immersing yourself in the Python paradigms. The best way is to first know what they are then explore the best practices by reading some literature and reviewing some code samples. I recommend Learning Python by Mark Lutz; great for beginners and advanced users.
Youll do yourself a great injustice if you program with Python and fail to leverage all of the built-in, developer-friendly, Pythonic syntax.
As my French teacher used to say, French isnt just English with different words.
If you are new to Python and coming from Java (or C#, or other similar statically typed OO language), these classic articles from PJ Eby and Ryan Tomayko are necessary reading:
- Python Is Not Java (PJE)
- Java is not Python, either (PJE)
- Python Interfaces are not Java Interfaces (PJE)
- The Static Method Thing (Tomayko)
- Getters/Setters/Fuxors (Tomayko)
Programming in Python vs. programming in Java
You could start by reading The Zen of Python. Itll give you some insight into how Python code is supposed to be written, provided you understand the language enough to understand what its talking about. 🙂