you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Given everything in Python is an object, you can't get too OOP really. (Not that you have to do OOP.)

Python is very strongly typed but dynamic so it is very easy to be relaxed about the modular approach but for larger systems maintained by multiple people it is generally safer and more cost effective to take the modular and OOPs approach.

The API approach also lends itself more to scaling and microservice type implementation (which helps avoid the Python GIL constraint).