The British way of dealing with foreign APIs.

A bad joke told in Python:

def call_foreign_api(str):
    try:
        foreign_api(str)
    except NotUnderstoodError:
        foreign_api(str.upper())
----

Tagged with: python
Filed in: tidbits
Revision history

Previous: nurl - an immutable URL object for node.js
Next: Commandlinefu presentation at Confoo 2011

Copyright © 2005-2017 David Winterbottom
Content licensed under CC BY-NC-SA 4.0.