Skip to main content
Source Link
deamon
  • 886
  • 5
  • 18

  • Strange OOP:
  • len(s) through __len__(self) and other "special methods"
  • extra special methods which could be derived from other special methods (__add__ and __iadd__ for + and +=)
  • self as first method parameter
  • you can forget to call base class constructor
  • no access modifiers (private, protected ...)
  • no constant definitions
  • no immutability for custom types
  • GIL
  • poor performance which leads to a mix of Python and C and troubles with builds (looking for C libs, platform dependencies ...)
  • bad documentation, especially in third party libs
  • incompatibility between Python 2.x and 3.x
  • poor code analysis tools (compared to what is offered for statically typed languages such as Java or C#)
Post Made Community Wiki by deamon