9 ms·
It's interesting how a search for "metaclasses" in the given link doesn't yield any results.
by vchynarov 11y ago
It's interesting how a search for "metaclasses" in the given link doesn't yield any results.
- mhurron 11y agoPerhaps the author thought metaclasses are Advanced Python.
- rectangletangle 11y agoI'd tend to agree. I've been writing Python for years, and I still haven't had a legitimate use for them. Not to say that there's no use for them, they're handy when implementing an ORM. However, it's not often that you'd need to do something like that.
- yasoob 11y agoThat is advanced level stuff :) If you want to add it to this book then kindly go ahead. This book is open source.
- FilterSweep 11y agoIt's certainly an arduous task to determine what is intermediate and what isn't! And I think you did an excellent job, from looking at the table of contents (I'll have to take a closer look and have booked marked it for later). Unlike some the above posters, I learned metaclasses relatively early, but there are definitely some things in this book which I haven't seen before. Thank you.
- pfranz 11y agoThat's a pretty advanced topic. Like a lot of advanced (and some intermediate) topics, you read a bunch of varying documentation and play around with it yourself before you get a good grasp. For me, one of the more useful things were these slides that talk more about the when and why instead of the how: http://www.vrplumber.com/programming/metaclasses.pdf http://www.vrplumber.com/programming/metaclasses.pdf