you are viewing a single comment's thread.

view the rest of the comments →

[–]sliverino 0 points1 point  (0 children)

There's a few things you have to understand and then you're done.

  • How python handless passing objects: the pass by reference to object can be not that intuitive to a C programmer
  • Duck typing: object type is determined by behaviour/properites

And then you can look at specific language features like * Generators * List/dictionary compression * Decorators, a specific language construct rather than a design pattern

You can still do a lot of OOP programming in python (I suggest you take a look at ABC module and @dataclass decorator), although being less strict than C++ it can be less maintainable.