2 Réponses
+ 7
When having a large amount of code, OOP can help by grouping similar objects together to make the code more DRY
+ 3
OOP is very important in many cases. For example if you’re going to write a python module for some chat-bot API you will most likely be using classes to put things together. You would have a bot class, and let’s say a user class for whoever invokes the bot command. This way you can keep things looking clean and much easier to access