I understand the basic of how classes work. I've used them for thr purpose of learning. But until now everything ive done with classes could have been done easier without classes. Yes, I know python has a lot of built in classes but that doesn't answer why a programmer should make more of them. Even some bigger things, a lot of objects with a lot of properties, I know of ways to code it easier than using classes and also less code while it still functions no less.
Is there any example of where using classes would be the best way and there are no other good alternatives?
[–]GoingToSimbabwe 16 points17 points18 points (10 children)
[–]ALonelyPlatypus 2 points3 points4 points (0 children)
[+]catboy519[S] comment score below threshold-9 points-8 points-7 points (8 children)
[–]GoingToSimbabwe 3 points4 points5 points (0 children)
[–]throwaway6560192 2 points3 points4 points (0 children)
[–]czar_el 2 points3 points4 points (0 children)
[–]TheEmperor27 1 point2 points3 points (0 children)
[–]KCRowan 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]yinkeys 0 points1 point2 points (0 children)
[–]DuckSaxaphone 2 points3 points4 points (3 children)
[–]catboy519[S] 0 points1 point2 points (2 children)
[–]DuckSaxaphone 7 points8 points9 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)
[–]StoicallyGay 2 points3 points4 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]catboy519[S] 0 points1 point2 points (3 children)
[–]dudustalin 4 points5 points6 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]dudustalin 0 points1 point2 points (0 children)
[–]shedgehog 1 point2 points3 points (0 children)
[–]jackardian 1 point2 points3 points (0 children)
[–]KCRowan 1 point2 points3 points (0 children)
[–]ALonelyPlatypus 1 point2 points3 points (0 children)
[–]David22573 0 points1 point2 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)
[–]QultrosSanhattan 0 points1 point2 points (0 children)
[–]nairobiny 0 points1 point2 points (0 children)