Programming in Python vs. programming in Java

后端 未结 13 1469
天命终不由人
天命终不由人 2020-12-23 09:45

I\'ve been writing Java for the last couple of years , and now I\'ve started to write in python (in addition).

The problem is that when I look at my Python code it

13条回答
  •  北海茫月
    2020-12-23 10:20

    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)

提交回复
热议问题