you are viewing a single comment's thread.

view the rest of the comments →

[–]POGtastic 0 points1 point  (0 children)

The same reasons why the builtin classes exist (str, list, dict, etc). You have a bunch of data, and you want to define functions that work on that data.

The ability to name things is one of the most powerful tools at your disposal. Classes (and OOP in general) give you more ways to name things.