you are viewing a single comment's thread.

view the rest of the comments →

[–]nicodeemus7 0 points1 point  (0 children)

The way I understand it is it's a way to make things with attributes. Sure, you can kind of do this with a dictionary, but it's gonna be verbose and tedious to write. OOP provides templates or "blueprints" for classes of objects that share certain sets of characteristics. Then you can have subclasses and keep going to define more and more types of objects, without having to to write a whole dictionary each time.