Explore >> Select a destination


You are here

blog.ionelmc.ro
| | yasoob.me
1.6 parsecs away

Travel
| | Hi there pythonistas. Recently I was searching about metaclasses in Python and came across a very good explanation about metaclasses on stackoverflow. I found the answer really helpful so I think you should read it as well. Who knows when you might find something useful in there. Disclaimer: very long post. Classes as objects Before understanding metaclasses, you need to master classes in Python. And Python has a very peculiar idea of what classes are, borrowed from the Smalltalk language.
| | python-patterns.guide
3.2 parsecs away

Travel
| |
| | speice.io
3.4 parsecs away

Travel
| | but mostly weird.
| | andreabergia.com
19.2 parsecs away

Travel
| Error handling is a fundamental aspect of programming. Unless you are writing hello world, you will need to handle errors in your code. In this post, I will discuss a bit the most common approaches used by various programming languages. Return error codes This is one of the most ancient strategies - if a function can fail, it can simply return an error code - often a negative number, or null.