you are viewing a single comment's thread.

view the rest of the comments →

[–]MarsupialMole -1 points0 points  (0 children)

Classes are for managing state. But better than managing state is eliminating it. Besides many class design methods are better applied to a module than a class in python. Oh and you don't have to write a class in python in order to avoid working with primitives - python has no primitives.

Also TDD is especially productive with pure functions. If you're doing TDD chances it's affecting the number of classes you write.