This is a self-reflective post, interesting mostly if you want to understand what goes on inside my head these days. There’s no practical knowledge to be gained from it, no commentary on politics, popular culture. It’s meta.
Let’s talk for a while about trust issues and data robustness. There’s really two interconnecting stories here so bear with me while I go overboard with the backstory.
PEP 443 has just been accepted. It brings a uniform API for creating and managing single-dispatch generic functions in Python 3.4. If the last sentence read to you like some Haskellish solution to a self-inflicted problem, this post is here to explain how generic functions may help you to organise real world code.
import this is a brilliant easter egg in the Python interpreter. In just a few words it catches the philosophy behind what is considered "pythonic". One might argue that it describes the essence of what is so great about the language, its libraries and its community.
But for it to be more than just a bunch of aphorisms, a programmer has to ask herself: how do I conform to those guidelines in my daily work? I asked myself this question the other day and here are a few thoughts and opinions. Beware that this is at times very meta.