Re:Ask HN: What do you think about using classes in Python?
by CyberFonic on Tuesday December 02, 2014 @10:00PM
(#8691656)
Context is the key to getting a better answer to your question. For any sufficiently large code base you would need to adopt some structure, e.g. modules and/or well designed functions, to ensure that the system is maintainable. Classes are just one to encapsulate state and behaviour so it doesn't leak all over the place.
Re:Ask HN: What do you think about using classes in Python?
by rodrigoreis22 on Wednesday December 03, 2014 @01:00AM
(#8692113)
It's not currently fat and repetitive.. it has decent layered-organized structure.. My argument is that you can have many of the benefits of OOP in Python just using modules. When you need many instances, each with its own isolated state, or you need inheritance.. then go for classes.
difficult to comment properly without more context.