In particular I would like to talk about Python's classes and when is the right and wrong times to use them. I recently learned how classes work, and they're basically wonderful, and now I seem to want to put everything into classes. It's getting to the point where I'll write a new program in all classes, maybe 4 or 5 of them, and then main is just hanging out in the bottom there about 3 lines long. This seems like a pretty good idea when I'm writing the code, but when I take a step back it looks overly complicated. Sometimes it doesn't though, and I even manage to drop the line count while improving readability.
It's kind of hard to Google up reading material specifically relating to classes and Python. The internet exists to make people money apparently, so most search results come back as offers for learning classes or courses. I did however find this nice video on Youtube from Pycon 2012. It's pretty much exactly the topic I'm looking at here.
I would like to know what else is out there as far as reading and watching materials goes. Your own
on the matter is of course welcome. I would also like to know how people look at classes in other OOP languages and how those views differ from the 'Pythonic way'.
It's kind of hard to Google up reading material specifically relating to classes and Python. The internet exists to make people money apparently, so most search results come back as offers for learning classes or courses. I did however find this nice video on Youtube from Pycon 2012. It's pretty much exactly the topic I'm looking at here.
I would like to know what else is out there as far as reading and watching materials goes. Your own
