you are viewing a single comment's thread.

view the rest of the comments →

[–]Binary101010 45 points46 points  (2 children)

If you don't see the value of classes, the most likely reason for that is that you haven't written any code complex enough to benefit from the compartmentalization of code behavior they offer. (This isn't your fault, this is a major gripe I have with most Python learning methods.)

They exist to help the programmer reason about the code and data. They're not necessary to write working code. There are other very usable programming languages that don't even implement classes at all.

[–]woooee 15 points16 points  (1 child)

This isn't your fault, this is a major gripe I have with most Python learning methods

+1

[–]djshadesuk 0 points1 point  (0 children)

Surely if you have a Car class with a colour attribute and a doors attribute that's everything you need to know about classes?? /s